Review active sessions


Drag the divider or use the arrow keys to compare themes.
Django Chassis 1.0.23 · training site with Russian UI
- Filters narrow the session list for investigation.
- The list shows the account, device and activity timestamps.
How to add it
In src/server/settings/middlewares.py, add the session registry to MIDDLEWARE after AuthenticationMiddleware. With the users module enabled, sign in to /admin/ as staff and open an admin page to register the session. Staff with django_chassis.view_usersession can view the registry. Ending another active session also requires django_chassis.terminate_usersession and confirmation.
src/server/settings/middlewares.py
MIDDLEWARE = [
# ...
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django_chassis.middlewares.user_session.UserSessionMiddleware',
# ...
]
For a different Admin mount, set CHASSIS_ADMIN_PATH_PREFIX in Django settings to match that path.