aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/users/apps.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-01-19 15:57:06 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-01-19 15:57:06 +0000
commit9d76a3c52b8310726ec09e0262813f0438c21df6 (patch)
tree4acf47dce6c3aa75f8ad7c5cb56fe6486c2d64a7 /ctrack/users/apps.py
init commit - from cookiecutter
Diffstat (limited to 'ctrack/users/apps.py')
-rw-r--r--ctrack/users/apps.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/ctrack/users/apps.py b/ctrack/users/apps.py
new file mode 100644
index 0000000..9f81f1d
--- /dev/null
+++ b/ctrack/users/apps.py
@@ -0,0 +1,13 @@
+from django.apps import AppConfig
+from django.utils.translation import gettext_lazy as _
+
+
+class UsersConfig(AppConfig):
+ name = "ctrack.users"
+ verbose_name = _("Users")
+
+ def ready(self):
+ try:
+ import ctrack.users.signals # noqa F401
+ except ImportError:
+ pass