Fixes typo proj.celery -> proj
This commit is contained in:
Родитель
ba1ea77c7d
Коммит
006a50f5ae
|
@ -44,7 +44,7 @@ that defines the Celery instance:
|
|||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
|
||||
|
||||
app = Celery('proj.celery')
|
||||
app = Celery('proj')
|
||||
app.config_from_object('django.conf:settings')
|
||||
app.autodiscover_tasks(settings.INSTALLED_APPS, related_name='tasks')
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ from django.conf import settings
|
|||
# set the default Django settings module for the 'celery' program.
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
|
||||
|
||||
app = Celery('proj.celery')
|
||||
app = Celery('proj')
|
||||
|
||||
# Using a string here means the worker will not have to
|
||||
# pickle the object when using Windows.
|
||||
|
|
|
@ -2,7 +2,7 @@ from __future__ import absolute_import
|
|||
|
||||
from celery import Celery
|
||||
|
||||
app = Celery('proj.celery',
|
||||
app = Celery('proj',
|
||||
broker='amqp://',
|
||||
backend='amqp://',
|
||||
include=['proj.tasks'])
|
||||
|
|
Загрузка…
Ссылка в новой задаче