__init__.py 306 Bytes
Newer Older
Feanil Patel committed
1 2 3 4
"""
Celery needs to be loaded when the cms modules are so that task
registration and discovery can work correctly.
"""
Feanil Patel committed
5 6 7 8
from __future__ import absolute_import

# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
Feanil Patel committed
9
from .celery import APP as CELERY_APP