Blog
Extended log for Django
Vera Mazhuga
Vera Mazhuga
Software DeveloperExtended log, that tracks changes in Django models.
Sometimes there is a need to track all the changes that users make with model objects in Django. We wrote our version of django.contrib.admin.models.LogEntry in order to be able to register actions of our user upon the objects in the database.
Github repository:
https://github.com/AxiaCore/django-extlog
Installation
Installing from pypi (using pip):
pip install django-extlog
Installing from github:
pip install -e git://github.com/AxiaCore/django-extlog.git#egg=django-extlog
Requirements
pip install django-extensions
Quick Setup
1. Add
django_extlo to your INSTALLED_APPS setting like this::<pre data-gclp-id="0" data-initialized="true" lang="python">INSTALLED_APPS = (<br/> ...<br/> 'django_extlog',<br/>)<br/></pre>
2. Add
AuditLoggingMiddleware to your MIDDLEWARE_CLASSES setting::MIDDLEWARE_CLASSES = (
...
'django_extlog.middleware.AuditLoggingMiddleware',
)
Screenshots


Written by Vera Mazhuga
Vera Mazhuga
Vera specializes in writing and maintaining code for various applications. Her focus on problem-solving and efficient programming ensures reliable and effective software solutions.
Scale your company with the same people
Practical ideas to do more and get back your time every week
We respect your inbox. Privacy policy