Django Audit is a simple Django app that tracks and logs requests to your application.
Project description
django-audit
Django Audit is a simple Django app that tracks and logs requests to your application.
Quick Start
- Install django-audit
pip install dj-audit
- Add
dj_audit
to your INSTALLED_APPS:
INSTALLED_APPS = [
...,
"dj_audit"
]
- Add
dj_audit
middleware:
MIDDLEWARE = [
...
"dj_audit.middleware.AuditMiddleware"
]
- Run migrate
python manage.py migrate
Management commands
flush_auditlog
- Cleans up dj-audit AuditLog table
python manage.py flush_auditlog
Test
make test
or with coverage
make coverage_test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj_audit-0.0.4.tar.gz
(10.0 kB
view hashes)
Built Distribution
dj_audit-0.0.4-py3-none-any.whl
(11.6 kB
view hashes)