mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 05:50:16 +02: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