Registry / web-framework / django-config-models

django-config-models

JSON →
library3.0.0pypypiunverified

A Django library providing configuration models with auditing capabilities, enabling management of dynamic site configuration through database-backed models. Version 3.0.0 is the latest, actively maintained by the Open edX community. Releases are irregular but stable.

pip install django-config-models
INSTALL
IMPORT
SIG · DJANGO-CONFIG-MODE
D
django-config-models
web-frameworkpythonv3.0.0
Install
4.8s avg
Import
Disk
80MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 80.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 4.8s · import 0.000s · 81MB
80MB installed
● package 80MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ConfigurationModel
from config_models import ConfigurationModel
from config_models import ConfigurationModel

Define a configuration model by subclassing ConfigurationModel and access current active config via .current().

from config_models.models import ConfigurationModel from django.db import models class MyConfig(ConfigurationModel): key = models.CharField(max_length=255, unique=True) value = models.TextField() # Usage config = MyConfig.current() print(config.value)
Debug
Known issues
breakingIn v3.0.0, Django 3.2 support dropped; requires Django >=4.2.
fix
Upgrade Django to 4.2 or later.
affects: >=3.0.0
deprecatedOld import path 'configuration_models' is deprecated; use 'config_models'.
fix
Change import to 'from config_models.models import ConfigurationModel'.
affects: <3.0.0
gotchaConfigurationModel uses an audit log; every save creates a new historical record. Avoid calling .save() in loops.
fix
Use bulk operations or update only when necessary.
affects: all
Upgrade
Version history
3.0.0latest on PyPI · released Mar 24, 2026
Audit
Dependencies
DjangorequiredRequired framework.
edx-django-utilsrequiredProvides base utilities.
Agent activity
17 hits · last 30 days
node
16
Resources
django-config-models — pip install django-config-models · libregistry