
- Added Notification model with admin interface for managing notifications. - Created context processor to count unread notifications for the user. - Introduced forms for updating the status of Risk, Control, Incident, and ResidualRisk. - Added views for displaying and managing notifications, including marking them as read. - Updated URLs to include routes for notifications and status updates. - Enhanced templates to support notifications display and status update forms. - Improved CSS for avatar and badge display in the navbar. - Translated various static texts to support internationalization.
19 lines
461 B
Python
19 lines
461 B
Python
# Generated by Django 5.2.6 on 2025-09-10 10:53
|
|
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("risks", "0021_risk_status_notificationpreference"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name="notification",
|
|
options={
|
|
"verbose_name": "Notification",
|
|
"verbose_name_plural": "Notifications",
|
|
},
|
|
),
|
|
]
|