django-simple-history
https://github.com/jazzband/django-simple-history
Python
Store model history and view/revert changes from admin site.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to django-simple-history
Help out
- Issues
- m2m history is saved in the default database with use_base_model_db
- Save m2m history in the model's database with use_base_model_db
- Admin history: last record on each page shows no changes
- Show changes for the last record on each admin history page
- History manager class is rebuilt on every access
- Build the history manager class once per model
- as_of() runs one query per record when excluded_fields is set
- Fetch excluded fields in one query for as_of() and as_instances()
- Duplicate cleanup deletes changed records at the time cutoff
- Preserve changed history at the duplicate cleanup cutoff
- Docs
- Python not yet supported