Skip to main content
https://github.com/mpasternak/django-denorm-iplweb/actions/workflows/tests.yml/badge.svg

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 5.2 LTS

Django 6.0

Django 6.1

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!

Deferring computation

Fields declared with @denormalized are computed synchronously when their model is saved. To skip that for selected fields, e.g. while the Django admin saves a parent object before its inlines, wrap the writes in denorm.deferred(). The fields are then left untouched on UPDATE (or set to their default on INSERT) and marked dirty for flush() on block exit:

import denorm
from django.db import transaction

with transaction.atomic(), denorm.deferred("app.Article.summary"):
    article.save()
    for section in sections:
        section.save()

See the tutorial (“Deferring the computation”) for details and limitations.

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

Metadata

Release files for django-denorm-iplweb 1.16.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-denorm-iplweb 1.16.0
File Size Uploaded Provenance Actions
django_denorm_iplweb-1.16.0.tar.gz 111.2 kB With provenance Details for django_denorm_iplweb-1.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-denorm-iplweb 1.16.0
File Interpreter ABI Platform Actions
django_denorm_iplweb-1.16.0-py3-none-any.whl Python 3 none any Details for django_denorm_iplweb-1.16.0-py3-none-any.whl

Total release size: 198.9 kB

Release files / django_denorm_iplweb-1.16.0.tar.gz

Download URL django_denorm_iplweb-1.16.0.tar.gz
Size 111.2 kB
Tags Source
SHA-256 checksum
How to use checksums
36e5b772cd7b9edb2f05b214896dcf1c48ed26dfdbb8792aea3ebd1ec49b268a
BLAKE2b-256 checksum
How to use checksums
330d81cea5ac1565d53a3d0f51c27635539defc92f42105b2f736188a7bd6b38
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 14, 2026.

Transparency log

Release files / django_denorm_iplweb-1.16.0-py3-none-any.whl

Download URL django_denorm_iplweb-1.16.0-py3-none-any.whl
Size 87.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a643725696a3a8b5bf963e0c713c19f6f13834ca6b0f3f02f407cc4d60739c61
BLAKE2b-256 checksum
How to use checksums
fcfa2f1bcabc32c865c5e0c3f9397f67c2a6698a16a1aea90e75d25b1246f453
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 14, 2026.

Transparency log

Security for django-denorm-iplweb 1.16.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_denorm_iplweb-1.16.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 14, 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.16.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