Added default init code for celery

This commit is contained in:
M.Ravi 2017-08-06 15:08:46 +02:00
parent bd2edf599a
commit d6d0b9c8c0
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
from __future__ import absolute_import
from __future__ import absolute_import, unicode_literals
# This will make sure the app is always imported when
# Django starts so that shared_task will use this app.
from .celery import app as celery_app
__all__ = ['celery_app']