Backend/real_estate_search/users/apps.py

14 lines
334 B
Python
Raw Normal View History

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