mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-03-16 21:30:24 +00:00
16 lines
499 B
Python
16 lines
499 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")
|
|
default_auto_field = 'django.db.models.AutoField'
|
|
|
|
def ready(self):
|
|
super(Config, self).ready()
|
|
# this is for backwards compatibility
|
|
import notifications.signals
|
|
notifications.notify = notifications.signals.notify
|