backend/passfinder/users/apps.py

14 lines
318 B
Python
Raw Normal View History

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