django-notifications/notifications/apps.py
2021-04-06 12:38:20 +03:00

15 lines
443 B
Python

''' Django notifications apps file '''
# -*- coding: utf-8 -*-
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class Config(AppConfig):
name = "notifications"
verbose_name = _("Notifications")
def ready(self):
super(Config, self).ready()
# this is for backwards compability
import notifications.signals
notifications.notify = notifications.signals.notify