mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-06 21:01:42 +01:00
Import logging to notify function
This commit is contained in:
parent
715352faac
commit
8697d075a8
@ -1,4 +1,7 @@
|
|||||||
from .models import Notification
|
from .models import Notification
|
||||||
|
import logging
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
def notify(user, title, message=None, level='info'):
|
def notify(user, title, message=None, level='info'):
|
||||||
notif = Notification()
|
notif = Notification()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user