Ad

django-simple-history: Model History Tracking

django-simple-history stores Django model history, enabling easy tracking and reversion of changes made from the Django admin site. It provides a straightforward way to maintain a history of your application's data modifications.
Screenshot of django-commons/django-simple-history homepage

django-simple-history tracks changes to Django models. It records state changes (create, update, delete) allowing you to view and revert to previous versions. This is useful for auditing, debugging, and data recovery. It achieves this by automatically saving model states, providing a simple and efficient solution for managing data history within Django applications.

The project offers a simple API for accessing model history, making it easy to integrate into existing Django projects. It supports multiple Django versions, ensuring broad compatibility. Its lightweight design minimizes performance overhead, and its clear structure promotes maintainability. It integrates seamlessly with Django's existing model framework.

  • Model History: Tracks changes for create, update, and delete operations on Django models.
  • Easy Integration: Simple API for accessing historical data within Django views and admin interfaces.
  • Version Support: Compatible with a range of Django versions, from 4.2 to the latest releases.
  • Extensible: Supports custom fields and models for tailored history tracking.
  • Queryable History: Allows efficient querying and filtering of historical data.
  • User Context: Stores information about the user who made the changes.
  • Configuration: Offers simple configuration options for managing history storage and retention.

django-simple-history is a mature and actively maintained project. It has a stable release history and a responsive community. Regular commits and issue resolution indicate ongoing development and support. Comprehensive documentation further supports its reliability and usability.

Developers can use django-simple-history to add audit trails and version control to their Django applications. This is beneficial for applications requiring data integrity, regulatory compliance, or user-friendly rollback capabilities. It provides a readily available solution that simplifies the process of tracking data changes, saving development time and effort compared to building a custom history system.

Summarize:
Share:
Stars
2,461
Forks
506
Issues
192
Created
15 years ago
Commit
1 month ago
License
BSD-3-CLAUSE
Archived
No
Updated 30 days ago

Similar Repositories