Denormalization magic for Django
Project description
django-denorm-iplweb is a Django application to provide automatic management of denormalized database fields.
This is a fork of original package, that went by name of django-denorm . This fork should bring original package to the latest Django/Python versions. Also, support for pretty much anything that is not PostgreSQL was dropped.
Supported versions:
Django 4.2 LTS |
Django 5.2 LTS |
Django 6.0 |
|
|---|---|---|---|
Python 3.10 |
✅ |
✅ |
❌ |
Python 3.11 |
✅ |
✅ |
❌ |
Python 3.12 |
✅ |
✅ |
✅ |
Python 3.13 |
✅ |
✅ |
✅ |
Licensed under the BSD 3-Clause license.
Requires Celery.
Reasons for this fork being PostgreSQL-only:
lack of resources for maintaning other backends,
usage of LISTEN/NOTIFY mechanisms, available in PostgreSQL,
many more improvements, for example the ability to run multiple instances of cache rebuilder (see docs)
Patches welcome!
Dirty instances view
The package ships with an optional view that displays the current number of DirtyInstance rows grouped by content type — useful for monitoring the denormalization queue from a browser instead of running ./manage.py denorm_show_dirtyinstances_count over SSH.
Wire it into your project’s URLConf:
# urls.py
from django.urls import include, path
urlpatterns = [
...
path("denorm/", include("denorm.urls")),
]
The view is then reachable at /denorm/dirty-instances/ and via reverse("denorm:dirty_instances_count").
Access policy is controlled by the DENORM_DIRTY_INSTANCES_VIEW_ACCESS setting (default: "staff"):
"staff" — only users with is_staff=True (uses staff_member_required).
"authenticated" — any logged-in user (uses login_required).
"public" — no access control. Only enable this behind your own network-level protection; the page leaks model names from your project.
Example:
# settings.py DENORM_DIRTY_INSTANCES_VIEW_ACCESS = "authenticated"
Documentation is available from http://django-denorm-iplweb.github.io/django-denorm-iplweb/
Issues can be reported at http://github.com/mpasternak/django-denorm-iplweb/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_denorm_iplweb-1.11.1.tar.gz.
File metadata
- Download URL: django_denorm_iplweb-1.11.1.tar.gz
- Upload date:
- Size: 47.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba950e2e79804350829390a6498f39b19fd40484ebc3bfc55782557e48084e8c
|
|
| MD5 |
6f5ad0b4390c43c243127100c08d6789
|
|
| BLAKE2b-256 |
9d69c3271537dc2941e62818bbf9344bd779c9048e4c3b8e3f646bdc73a05a6b
|
File details
Details for the file django_denorm_iplweb-1.11.1-py3-none-any.whl.
File metadata
- Download URL: django_denorm_iplweb-1.11.1-py3-none-any.whl
- Upload date:
- Size: 50.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b700f393687803b815b433a76dbbed92649679aec2322e23490f53c45f3319a4
|
|
| MD5 |
9456a07260820fdab4e45015398485f8
|
|
| BLAKE2b-256 |
7a7455f754b832ef72d2b8c674d7354eb02bb31df72e828fedf505d47b443da9
|