mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +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):
|
||||
try:
|
||||
import users.signals # noqa F401
|
||||
import {{ cookiecutter.project_slug }}.users.signals # noqa F401
|
||||
except ImportError:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user