django-reversion is an extension to the Django web framework that provides version control for model instances.
- Roll back to any point in a model instance's history.
- Recover deleted model instances.
- Simple admin integration.
To install django-reversion:
- Install with pip:
pip install django-reversion
. - Add
'reversion'
toINSTALLED_APPS
. - Run
manage.py migrate
.
Important
See django-versions
if you're not using the latest release of Django.
django-reversion can be used to add rollback and recovery to your admin site.
For more information about admin integration, see admin
.
You can use the django-reversion API to build version-controlled applications. See api
.
django-versions common-problems changelog
admin commands api views middleware errors signals