django-constance
Django live settings with pluggable backends, including Redis.
Decision gist · record as of 2026-08-14
Yes. Django-constance is actively maintained, has no external dependencies, carries a permissive BSD license, and solves a common Django problem cleanly. Use it when you need runtime-adjustable settings in a Django project. The Django model backend requires no extra infrastructure; add Redis only if you need distributed consistency across multiple app instances.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured; the package itself is a Django app and cannot function standalone.
- Low install friction; no runtime dependencies.
- Actively maintained with recent commits and 1852 repository stars.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-03-15 (152 days) · last repo commit 2026-08-10 · 1,852 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,217,790 downloads/mo, #4,205 on PyPI
Alternatives
Verify before relying
pip install django-constance
# In settings.py, add 'constance' to INSTALLED_APPS
# Then use:
from constance import config
value = config.MY_SETTING- Whether Redis backend requires additional setup or if Django model backend is sufficient for most use cases.
- Performance characteristics when managing large numbers of settings across distributed systems.
What it is and what it does
Django-constance is a Django app that moves application settings from static configuration files into dynamic, runtime-modifiable storage. Instead of hardcoding values in settings.py or environment variables, you define settings once and then change them through the Django admin interface or programmatically without restarting your application. It supports multiple backends: a built-in Django model backend that stores settings in the database, and Redis for higher-performance distributed scenarios.
The package integrates seamlessly with Django's admin interface, letting non-technical users or developers adjust application behavior on the fly. It's useful for feature flags, rate limits, feature toggles, or any configuration that benefits from runtime adjustment. With no external runtime dependencies and support for Django 4.2 through 5.2 on Python 3.8–3.13, it fits into existing Django projects with minimal friction.
Use it for
- Enable or disable features in production without redeploying by storing feature flags in django-constance and checking them at runtime.
- Adjust application parameters like rate limits, timeouts, or batch sizes through the Django admin without code changes.
- Store user-configurable settings (e.g., email templates, notification thresholds) in a database backend for non-developers to manage.
- Share configuration across multiple application instances using Redis backend for consistency.
- A/B test or gradually roll out changes by toggling settings on and off for different user cohorts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Django-constance is actively maintained, has no external dependencies, carries a permissive BSD license, and solves a common Django problem cleanly. Use it when you need runtime-adjustable settings in a Django project. The Django model backend requires no extra infrastructure; add Redis only if you need distributed consistency across multiple app instances.
Install
django-constance on PyPI
Before you install
Low install friction; no runtime dependencies. Actively maintained with recent commits and 1852 repository stars. Supports modern Django versions (4.2, 5.0, 5.1, 5.2) and Python 3.8–3.13.
Requires Django to be installed and configured; the package itself is a Django app and cannot function standalone.
License in practice
BSD license is permissive, allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install django-constance
# In settings.py, add 'constance' to INSTALLED_APPS
# Then use:
from constance import config
value = config.MY_SETTING
Verify before relying
- Whether Redis backend requires additional setup or if Django model backend is sufficient for most use cases.
- Performance characteristics when managing large numbers of settings across distributed systems.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,217,790 / month, #4,205 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/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating 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.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Utilities |
Evidence: django_constance-4.3.5-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 › “django dynamic settings”
- django-constanceDjango-constance lets you store and manage application settings…
- django-settings-holderProvides a settings container for Django extensions that allows…
- django-dynamic-preferencesStores and retrieves application settings dynamically in a Django…
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-dynamic-preferences · django-environ · django-settings-holder · persisting-theory · django-hosts · django-appconf · django-extensions · django-redis · django-storages · django-unfold