notifications
The notifications package has an API for sending notifications.
Location: allianceauth.notifications
models
- class Notification(*args, **kwargs)[source]
Notification to a user within Auth
- Parameters
id (AutoField) – Primary key: ID
level (CharField) – Level
title (CharField) – Title
message (TextField) – Message
timestamp (DateTimeField) – Timestamp
viewed (BooleanField) – Viewed
Relationship fields:
- Parameters
user (
ForeignKey
toUser
) – User (related name:notification
)