mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 10:04:01 +03:00
The signal should be imported from project_slug (#2049)
The signal should be imported from project_slug
This commit is contained in:
commit
9f8f6a3e2a
|
@ -8,6 +8,6 @@ class UsersAppConfig(AppConfig):
|
||||||
|
|
||||||
def ready(self):
|
def ready(self):
|
||||||
try:
|
try:
|
||||||
import users.signals # noqa F401
|
import {{ cookiecutter.project_slug }}.users.signals # noqa F401
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user