Files
ihrm/notifications/apps.py

17 lines
406 B
Python
Raw Normal View History

""" Django notifications apps file """
2023-08-01 16:47:47 +05:30
# -*- coding: utf-8 -*-
from django.apps import AppConfig
class Config(AppConfig):
name = "notifications"
default_auto_field = "django.db.models.AutoField"
2023-08-01 16:47:47 +05:30
def ready(self):
super(Config, self).ready()
# this is for backwards compability
import notifications.signals
2023-08-01 16:47:47 +05:30
notifications.notify = notifications.signals.notify