Dynamic Django settings.
  • Python 93.3%
  • HTML 5.1%
  • JavaScript 1.2%
  • CSS 0.4%
Find a file
Erik Janssen 20080d65d5
Some checks failed
Docs / docs (push) Has been cancelled
Test / ruff-format (push) Has been cancelled
Test / ruff-lint (push) Has been cancelled
Test / build (3.10) (push) Has been cancelled
Test / build (3.11) (push) Has been cancelled
Test / build (3.12) (push) Has been cancelled
Test / build (3.13) (push) Has been cancelled
Test / build (3.14) (push) Has been cancelled
Test / build (3.8) (push) Has been cancelled
Test / build (3.9) (push) Has been cancelled
Made 0003_drop_pickle.py database (multi-tenant) aware (#669)
migrate_pickled_data always operates on default database, ignoring the --database <dbname> argument of the migrate command in multi-tenant setups. Migration is then marked as complete in database <dbname>, causing an inconsistency that prevents the tenant from accessing constance data.

Found after upgrading from 3.1.0 to 4.35, using Django 6.0.6
2026-06-15 11:16:08 -05:00
.github chore(ci): bump pypa/gh-action-pypi-publish in the github-actions group (#666) 2026-06-08 14:55:16 -05:00
constance Made 0003_drop_pickle.py database (multi-tenant) aware (#669) 2026-06-15 11:16:08 -05:00
docs Added async support (#656) 2026-03-04 16:37:37 -06:00
example Use double quotes 2025-10-07 11:26:18 +02:00
tests Remove idempotent autofill to fix lazy config load in async context (#668) 2026-06-08 14:54:27 -05:00
.coveragerc Replace pickle with JSON (#564) 2024-08-20 09:35:27 -05:00
.gitignore Better already migrated detection (#588) 2024-09-17 14:59:11 +05:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#655) 2026-01-30 14:53:23 -06:00
.readthedocs.yaml Display correct version in docs 2025-12-30 08:25:26 -06:00
AUTHORS Added async support (#656) 2026-03-04 16:37:37 -06:00
CODE_OF_CONDUCT.md Update Code of Conduct (#661) 2026-03-16 09:38:32 -05:00
CONTRIBUTING.md Update project affiliation and code of conduct links (#663) 2026-03-17 14:33:22 +05:00
LICENSE Happy 2007 2017-02-17 08:06:06 -05:00
MANIFEST.in Pack static files into release 2017-10-02 22:43:45 +07:00
pyproject.toml Merge pull request #637 from mahdirahimi1999/feature/django-5.2-support 2025-10-21 09:54:41 +02:00
README.rst Update badges. 2020-11-30 21:03:00 +01:00
tox.ini Remove 3.14 from Django 5.1 2025-10-21 10:08:18 +02:00

Constance - Dynamic Django settings
===================================

.. image:: https://jazzband.co/static/img/badge.svg
   :alt: Jazzband
   :target: https://jazzband.co/

.. image:: https://img.shields.io/readthedocs/django-constance.svg
   :target: https://django-constance.readthedocs.io/
   :alt: Documentation

.. image:: https://github.com/jazzband/django-constance/workflows/Test/badge.svg
   :target: https://github.com/jazzband/django-constance/actions
   :alt: GitHub Actions

.. image:: https://codecov.io/gh/jazzband/django-constance/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/jazzband/django-constance
   :alt: Coverage

A Django app for storing dynamic settings in pluggable backends (Redis and
Django model backend built in) with an integration with the Django admin app.

For more information see the documentation at:

https://django-constance.readthedocs.io/

If you have questions or have trouble using the app please file a bug report
at:

https://github.com/jazzband/django-constance/issues