Import logging to notify function

This commit is contained in:
Adarnof 2016-02-18 19:24:03 +00:00
parent 715352faac
commit 8697d075a8

View File

@ -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()