# etianen/django-reversion

django-reversion is an extension to the Django web framework that provides version control for model instances.

Repository: https://github.com/etianen/django-reversion
Canonical: https://ross.abutalabs.com/products/django-reversion
Homepage: https://django-reversion.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2026-06-12T19:53:54+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 76, longevity 100
- inputs: {"age_days": 5938, "days_push": 82, "days_rel": 82, "gap_med": 83, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3168, forks 492 (observed 2026-08-28T04:07:47.317162+00:00)

## What it is
django-reversion is a Django extension that adds version control for model instances, tracking revisions and enabling rollback. It integrates with the Django admin and supports recovering deleted model instances.

## Use cases
- roll back a Django model instance to a previous version
- recover deleted rows in a Django app
- track change history of database records
- add version history to Django admin
- audit who changed model data over time

## When to choose
- you use Django's ORM and need per-model revision history
- you want admin-integrated rollback and deleted-object recovery
- you need a mature, BSD-licensed versioning library for Django models

## When to avoid
- you need full database-level audit logging across raw SQL
- you use a non-Django framework or non-ORM data access
- you need event-sourcing with replayable event streams

## Facets
- artifact type: library
- maturity: stable
- function: version-control, orm, middleware
- domain: web-development, backend, databases, developer-tools
- platform: python
- tags: django, model-versioning, audit-history, rollback, admin-integration, web-server

## Member repositories
- etianen/django-reversion (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:47.317162+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:45:31.355184+00:00, confidence not recorded.
  - readme: https://github.com/etianen/django-reversion (fetched 2026-08-28T04:07:47.317162+00:00, sha 87f70d1e2594)
  - registry_pypi: https://pypi.org/pypi/django-reversion/json (fetched 2026-08-29T09:40:14.586323+00:00, sha 79b29778d744)
- Data as of 2026-08-30T08:39:29.467469+00:00.
