django-auditlog
Audit log app for Django
Decision gist · record as of 2026-08-14
Yes. django-auditlog is well-maintained, has low install friction, carries no known vulnerabilities, and solves a common Django need (model change tracking) in a lightweight way. The MIT license is permissive. Install it if you need audit logging for Django models and want a simple, proven solution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 4.2 or later and Python 3.10 or later; must be added to Django's INSTALLED_APPS and database migrations must be run.
- Low install friction: pure Python wheel, only two runtime dependencies (Django and python-dateutil).
- Active maintenance with recent commits and a release within the past year; supports modern Django versions (4.2–5.2) and Python 3.10–3.13.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-12-18 (239 days) · last repo commit 2026-08-11 · 1,377 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,434,101 downloads/mo, #3,904 on PyPI
Alternatives
Verify before relying
pip install django-auditlog
from auditlog.models import LogEntry
from auditlog.registry import auditlog
auditlog.register(MyModel)- Whether the package handles concurrent model updates correctly and what the performance impact is on high-volume write workloads.
- Whether JSON log storage scales well for models with many fields or long field values.
What it is and what it does
django-auditlog is a reusable Django app that automatically logs changes to model instances, recording which fields changed, their old and new values, the timestamp, and the user who made the change. It stores this information as JSON summaries in the database, making it easy to query and audit model history without the overhead of full version control.
Unlike Django's built-in admin log, auditlog is more flexible and lightweight—it's designed to be simple to use and fast, requiring minimal configuration. You register a model with the auditlog registry, and it begins tracking changes automatically. It depends only on Django and python-dateutil, keeping dependencies lean.
Use it for
- Track who modified a user account, order, or configuration and when, for compliance or debugging.
- Build an audit trail for sensitive data changes (e.g., permissions, billing info) to meet regulatory requirements.
- Investigate what changed in a model instance over time without storing full version snapshots.
- Implement a simple change history UI that shows a JSON summary of each modification.
- Log admin or API-driven model updates for accountability in multi-user systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
django-auditlog is well-maintained, has low install friction, carries no known vulnerabilities, and solves a common Django need (model change tracking) in a lightweight way. The MIT license is permissive. Install it if you need audit logging for Django models and want a simple, proven solution.
Install
django-auditlog on PyPI
Before you install
Low install friction: pure Python wheel, only two runtime dependencies (Django and python-dateutil). Active maintenance with recent commits and a release within the past year; supports modern Django versions (4.2–5.2) and Python 3.10–3.13.
Requires Django 4.2 or later and Python 3.10 or later; must be added to Django's INSTALLED_APPS and database migrations must be run.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install django-auditlog
from auditlog.models import LogEntry
from auditlog.registry import auditlog
auditlog.register(MyModel)
Verify before relying
- Whether the package handles concurrent model updates correctly and what the performance impact is on high-volume write workloads.
- Whether JSON log storage scales well for models with many fields or long field values.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesDjangopython-dateutil |
| Maintenance | Actively maintained 239 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,434,101 / month, #3,904 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Framework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: django_auditlog-3.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django model change logging”
- django-auditlogdjango-auditlog logs changes to Django model instances, recording…
- django-pghistoryTracks all changes to Django models using PostgreSQL triggers,…
- django-easy-auditLogs every CRUD operation, authentication event, and HTTP request in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also django-dirtyfields · django-reversion · django-pghistory · django-easy-audit · django-logentry-admin · django-upgrade · django-jsonform · django-fsm-log · django-structlog · django-activity-stream