Skip to main content

Review active sessions

Review active sessions (dark theme)
Review active sessions (light theme)

Drag the divider or use the arrow keys to compare themes.

Review active sessions
Review active sessions (dark theme)
Review active sessions (light theme)

Drag the divider or use the arrow keys to compare themes.

  1. Filters narrow the session list for investigation.
  2. The list shows the account, device and activity timestamps.
Review active sessions

Django Chassis 1.0.23 · training site with Russian UI

  1. Filters narrow the session list for investigation.
  2. 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.