django-configurations
A helper for organizing Django settings.
Decision gist · record as of 2026-08-14
Yes, if you want cleaner Django settings organization. The package is stable (Production/Stable status), permissively licensed, has no known vulnerabilities, and low install friction. Maintenance is aging but active; the last commit was recent and the package is not archived. It's a good fit for projects that value object-oriented configuration patterns and multi-environment management.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires setting DJANGO_SETTINGS_MODULE and DJANGO_CONFIGURATION environment variables, and modifying manage.py, wsgi.py, or asgi.py to use django-configurations' starter functions instead of Django's defaults.
- Low friction install with a single runtime dependency on django.
- Maintenance status is aging—last commit was 2025-12-15 and the latest release was 2024-03-27, so updates are infrequent but the package remains active and archived status is false.
License · maintenance · safety
BSD (permissive) — BSD license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
last release 2024-03-27 (870 days) · last repo commit 2025-12-15 · 1,135 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 383,130 downloads/mo, #7,080 on PyPI
Alternatives
Verify before relying
pip install django-configurations
# mysite/settings.py
from configurations import Configuration
class Dev(Configuration):
DEBUG = True
# manage.py
from configurations.management import execute_from_command_line
execute_from_command_line(sys.argv)- Whether the package supports Django versions beyond 5.0 (classifiers list 5.0 as latest tested).
- Performance or overhead implications of class-based settings compared to module-based Django settings.
What it is and what it does
django-configurations replaces Django's module-based settings system with a class-based approach, letting you define settings as Python classes that inherit from a base Configuration class. This enables composition, inheritance, and environment-specific overrides without environment variables or multiple settings files. You define a class (e.g., Dev, Production) with your settings as class attributes, set DJANGO_CONFIGURATION to the class name, and modify your manage.py, wsgi.py, or asgi.py to call django-configurations' starter functions instead of Django's defaults.
The package depends only on django and is designed for projects that want cleaner, more maintainable settings organization. It supports Django 3.2 through 5.0 and Python 3.8 and later, including PyPy. The approach is particularly useful for multi-environment deployments where you need different settings for development, staging, and production without duplicating configuration logic.
Use it for
- Organize development, staging, and production settings as separate Configuration subclasses with shared base settings.
- Use class inheritance to share common settings across environments and override only what differs.
- Store environment-specific values (database URLs, API keys) as class attributes instead of scattered environment variables.
- Compose settings from multiple Configuration classes to build complex, reusable configuration hierarchies.
- Migrate an existing Django project from flat settings.py to a class-based structure for better maintainability.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you want cleaner Django settings organization.
The package is stable (Production/Stable status), permissively licensed, has no known vulnerabilities, and low install friction. Maintenance is aging but active; the last commit was recent and the package is not archived. It's a good fit for projects that value object-oriented configuration patterns and multi-environment management.
Install
django-configurations on PyPI
Before you install
Low friction install with a single runtime dependency on django. Maintenance status is aging—last commit was 2025-12-15 and the latest release was 2024-03-27, so updates are infrequent but the package remains active and archived status is false.
Requires setting DJANGO_SETTINGS_MODULE and DJANGO_CONFIGURATION environment variables, and modifying manage.py, wsgi.py, or asgi.py to use django-configurations' starter functions instead of Django's defaults.
License in practice
BSD license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install django-configurations
# mysite/settings.py
from configurations import Configuration
class Dev(Configuration):
DEBUG = True
# manage.py
from configurations.management import execute_from_command_line
execute_from_command_line(sys.argv)
Verify before relying
- Whether the package supports Django versions beyond 5.0 (classifiers list 5.0 as latest tested).
- Performance or overhead implications of class-based settings compared to module-based Django settings.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango |
| Maintenance | Aging 870 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 383,130 / month, #7,080 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.1Framework :: Django :: 4.2Framework :: Django :: 5.0Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Utilities |
Evidence: django_configurations-2.5.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “environment-specific django config”
- django-configurationsOrganizes Django settings using composable Python classes instead of…
- django-split-settingsSplits Django settings across multiple files and directories with…
- django-settings-exportProvides a Django template context processor that selectively exports…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also django-dotenv · django-split-settings · dj-static · django-settings-export · django-decorator-include · django-upgrade · django-jinja · django-dirtyfields · django-extensions · django-diagram