Notifications refresh v2 and session caching

This commit is contained in:
Erik Kalkoken
2021-01-16 00:09:49 +00:00
committed by Ariel Rin
parent aeeb35bc60
commit 4394d25961
27 changed files with 869 additions and 152 deletions

View File

@@ -9,5 +9,6 @@ To reduce redundancy and help speed up development we encourage developers to ut
esi
evelinks
eveonline
notifications
testutils
```

View File

@@ -0,0 +1,25 @@
======================
notifications
======================
The notifications package has an API for sending notifications.
Location: ``allianceauth.notifications``
.. automodule:: allianceauth.notifications.__init__
:members: notify
:undoc-members:
models
===========
.. autoclass:: allianceauth.notifications.models.Notification
:members: view, set_level, LEVEL_CHOICES
:undoc-members:
managers
===========
.. autoclass:: allianceauth.notifications.managers.NotificationManager
:members: notify_user, user_unread_count
:undoc-members: