move celery into app

This commit is contained in:
j 2019-07-16 12:27:35 +01:00
commit ee86c9ab9f
3 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@ import os
from celery import Celery
root_dir = os.path.normpath(os.path.abspath(os.path.dirname(__file__)))
root_dir = os.path.dirname(root_dir)
os.chdir(root_dir)
# set the default Django settings module for the 'celery' program.