Skip to main content

Review the system notification journal

Review the system notification journal (dark theme)
Review the system notification journal (light theme)

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

Review the system notification journal
Review the system notification journal (dark theme)
Review the system notification journal (light theme)

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

  1. Search by title, message or stable key.
  2. The journal shows active and resolved records with their timestamps.
  3. A recovered dependency remains in the journal with its active flag cleared.
Review the system notification journal

Django Chassis 1.0.23 · training site with Russian UI

  1. Search by title, message or stable key.
  2. The journal shows active and resolved records with their timestamps.
  3. A recovered dependency remains in the journal with its active flag cleared.

How to add it​

Enable notifications on PlatformAdminSite and grant django_chassis.view_globalalertjournal to the staff group. In src/apps/admins/sidebars.py, add this item to JOURNAL_SIDEBAR_SECTION.items in the section declaration. Chassis registers the read-only model admin when notifications are enabled.

# One entry in the existing section's items list
SidebarModelItemOption(
model='django_chassis.globalalertjournal',
icon_class='fa-regular fa-bell'
)

In the dependency check that owns the notice, call publish() with the check result and the same key on each run. To see the active and resolved states, run this example in uv run python src/manage.py shell on a training database.

from django_chassis.services.global_alert_service import GlobalAlertService

GlobalAlertService.publish(
key='lab-storage',
object_label='Training catalog storage',
message='File export is unavailable.',
is_active=True
)
GlobalAlertService.publish(
key='lab-storage',
object_label='Training catalog storage',
message='File export has recovered.',
is_active=False
)

Open Journals → System notifications and search for lab-storage. The same record remains searchable with its recovery message and its active flag cleared.