django-dynamic-configs
Typed runtime settings for Django that admins can add and edit in the Django admin, read from code through a small, cached API.
Installation
pip install django-dynamic-configs
Add it to INSTALLED_APPS, then create its table:
INSTALLED_APPS = [
# ...
"django.contrib.admin",
"dynamic_configs",
]
python manage.py migrate
To record every change with django-simple-history, install the extra:
pip install "django-dynamic-configs[simple-history]"
Quick start
import dynamic_configs
# Create the setting the first time; later calls return what is stored.
page_size, created = dynamic_configs.get_or_create("PAGE_SIZE", "int", 20, description="Items per list page.")
page_size = dynamic_configs.get("PAGE_SIZE", 20) # a cached read, with a default
dynamic_configs.update("PAGE_SIZE", 50) # change it from code
Admins can then change PAGE_SIZE under Configs in the Django admin, and the code above reads their value.
Documentation
The full documentation is at https://django-dynamic-configs.readthedocs.io/.
Security
Please report a vulnerability privately, as the security policy describes, not in a public issue.
License
MIT. See LICENSE.
Metadata
Release files for django-dynamic-configs 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_dynamic_configs-1.0.1.tar.gz | 188.5 kB | With provenance | Details for django_dynamic_configs-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_dynamic_configs-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for django_dynamic_configs-1.0.1-py3-none-any.whl |
Total release size: 291.0 kB
Release files / django_dynamic_configs-1.0.1.tar.gz
| Download URL | django_dynamic_configs-1.0.1.tar.gz |
|---|---|
| Size | 188.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de1069c001d2f9590bfcd867e70adcf178f37cc23f8fd24732119333e7bc6d58
|
|
BLAKE2b-256 checksum How to use checksums |
989adb7b51dc19be977bd3f4ef876e00ab81a566a3db87c0a46265021efec3d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / django_dynamic_configs-1.0.1-py3-none-any.whl
| Download URL | django_dynamic_configs-1.0.1-py3-none-any.whl |
|---|---|
| Size | 102.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
089520566cd5afc12f5d9983b8026b41539d2d369d9da2062c409f4e2834f4d0
|
|
BLAKE2b-256 checksum How to use checksums |
310d54732eb50e3b0fcf78b588d5438df169944cdad951e20194600cfd0e4308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for django-dynamic-configs 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for django_dynamic_configs-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.