Skip to content
Snippets Groups Projects
Commit 70e67252 authored by Fabrice Salvaire's avatar Fabrice Salvaire
Browse files

renamed celery script

parent aa76879e
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
####################################################################################################
__all__ = [
'celery_ application',
'celery_application',
]
####################################################################################################
......@@ -31,7 +31,7 @@ print('Load', __name__)
try:
# This will make sure the app is always imported when Django starts
# so that shared_task will use this app.
from .celery import application as celery_application
from .CelerySetup import application as celery_application
except ImportError:
# Handle
# ImportError: cannot import name 'Celery'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment