mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-24 23:40:42 +03:00
14 lines
360 B
Python
14 lines
360 B
Python
from django.apps import AppConfig
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class UsersConfig(AppConfig):
|
|
name = "{{ cookiecutter.project_slug }}.users"
|
|
verbose_name = _("Users")
|
|
|
|
def ready(self):
|
|
try:
|
|
import {{ cookiecutter.project_slug }}.users.signals # noqa F401
|
|
except ImportError:
|
|
pass
|