The signal should be imported from project_slug (#2049)

The signal should be imported from project_slug
This commit is contained in:
Bruno Alla 2019-05-10 17:56:10 +01:00 committed by GitHub
commit 9f8f6a3e2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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