Skip to main content

django-dynamic-configs

CI Coverage Documentation PyPI version Python versions Django versions License

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.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-dynamic-configs 1.0.0
File Size Uploaded Provenance Actions
django_dynamic_configs-1.0.0.tar.gz 186.7 kB With provenance Details for django_dynamic_configs-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-dynamic-configs 1.0.0
File Interpreter ABI Platform Actions
django_dynamic_configs-1.0.0-py3-none-any.whl Python 3 none any Details for django_dynamic_configs-1.0.0-py3-none-any.whl

Total release size: 288.1 kB

Release files / django_dynamic_configs-1.0.0.tar.gz

Download URL django_dynamic_configs-1.0.0.tar.gz
Size 186.7 kB
Tags Source
SHA-256 checksum
How to use checksums
616ec1716bc40aaa632b170236ba226c8da3e0826c4c35285c553c00e6d3eb1d
BLAKE2b-256 checksum
How to use checksums
89a7f970a84c5cc4f056a23b86bf02c0a8e1b529c796de4f81af97888c1d9e30
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 18, 2026.

Transparency log

Release files / django_dynamic_configs-1.0.0-py3-none-any.whl

Download URL django_dynamic_configs-1.0.0-py3-none-any.whl
Size 101.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
702ae066f14f333374ea2609408f9bf5b8e5ff46910ab1c414b93f9e56426839
BLAKE2b-256 checksum
How to use checksums
5c99a9e1c31e381adc7d4185a75ae78a6669a83ea428ea745e9554253910f5bb
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 18, 2026.

Transparency log

Security for django-dynamic-configs 1.0.0

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.

Select from 2 files

Attestation for django_dynamic_configs-1.0.0.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 18, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page