18 lines
393 B
Python
18 lines
393 B
Python
from django.apps import AppConfig
|
|
|
|
__all__ = [
|
|
"NotifyConfig",
|
|
]
|
|
|
|
|
|
class NotifyConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "notify"
|
|
verbose_name = "Notifications"
|
|
|
|
def ready(self):
|
|
from notify.delivery.providers import register_builtin_providers
|
|
|
|
register_builtin_providers()
|
|
import notify.receivers # noqa: F401
|