# up celery.py
This commit is contained in:
parent
63e1588c8c
commit
231ff66bfb
|
@ -3,9 +3,9 @@ import os
|
||||||
from celery import Celery
|
from celery import Celery
|
||||||
|
|
||||||
# set the default Django settings module for the 'celery' program.
|
# 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
|
# Using a string here means the worker doesn't have to serialize
|
||||||
# the configuration object to child processes.
|
# the configuration object to child processes.
|
||||||
|
|
Loading…
Reference in New Issue