Django-changelog is a simple app that automates the creation of log entries when Django models changes.
-
Add
'changelog'
to yourINSTALLED_APPS
in settings. -
Add
CHANGELOG_TRACKED_FIELDS
to your settings::CHANGELOG_TRACKED_FIELDS = { 'myapp.MyModel': ( 'first_field_to_track', 'second_field_to_track', ), }
-
Run
./manage.py migrate
to create the required tables.