# up celery.py

This commit is contained in:
xianfuxing 2018-08-14 09:38:46 +08:00
parent 63e1588c8c
commit 231ff66bfb
1 changed files with 2 additions and 2 deletions

View File

@ -3,9 +3,9 @@ import os
from celery import Celery
# set the default Django settings module for the 'celery' program.
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'stargazer.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mosqkiller.settings')
app = Celery('stargazer')
app = Celery('mosqkiller')
# Using a string here means the worker doesn't have to serialize
# the configuration object to child processes.