Find audited admin requests


Drag the divider or use the arrow keys to compare themes.
Django Chassis 1.0.23 · training site with Russian UI
- Filter audited traffic by the fields exposed on the list.
- The audit includes the actor, route, method and HTTP status.
How to add it
In src/server/settings/middlewares.py, add the audit middleware to MIDDLEWARE after AuthenticationMiddleware. It records the request and response under CHASSIS_ADMIN_PATH_PREFIX, which defaults to /admin/. Visit a page in the Admin, then open /admin/django_chassis/adminauditlog/ as staff with django_chassis.view_adminauditlog.
src/server/settings/middlewares.py
MIDDLEWARE = [
# ...
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django_chassis.middlewares.user_session.UserSessionMiddleware',
'django_chassis.middlewares.admin_audit.AdminAuditMiddleware',
# ...
]