add celery stuff

This commit is contained in:
2017-02-06 18:50:10 +01:00
parent 567d6007fe
commit 288abf1ad0
4 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
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']