Improve notifications

This commit is contained in:
Erik Kalkoken
2021-08-11 06:06:23 +00:00
committed by Ariel Rin
parent 5f98b5350e
commit 1e133b7c5d
6 changed files with 125 additions and 28 deletions

View File

@@ -7,19 +7,16 @@ The notifications package has an API for sending notifications.
Location: ``allianceauth.notifications``
.. automodule:: allianceauth.notifications.__init__
:members: notify
:undoc-members:
:members: notify
models
===========
.. autoclass:: allianceauth.notifications.models.Notification
:members: LEVEL_CHOICES, mark_viewed, set_level
:undoc-members:
:members: Level, mark_viewed, set_level
managers
===========
.. autoclass:: allianceauth.notifications.managers.NotificationManager
:members: notify_user, user_unread_count
:undoc-members: