backend/exhauster_analytics/users/apps.py

14 lines
336 B
Python
Raw Permalink Normal View History

2023-02-18 23:51:02 +03:00
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class UsersConfig(AppConfig):
name = "exhauster_analytics.users"
verbose_name = _("Users")
def ready(self):
try:
import exhauster_analytics.users.signals # noqa F401
except ImportError:
pass