删除 celery 依赖

This commit is contained in:
virusdefender
2015-12-07 19:15:28 +08:00
parent f1449962e4
commit 43e8ec2d90
7 changed files with 15 additions and 38 deletions

View File

@@ -22,9 +22,6 @@ if ENV == "local":
elif ENV == "server":
from .server_settings import *
import djcelery
djcelery.setup_loader()
BROKER_BACKEND = "redis"
CELERY_ACCEPT_CONTENT = ['json']
CELERY_TASK_SERIALIZER = 'json'
@@ -63,8 +60,7 @@ INSTALLED_APPS = (
'judge_dispatcher',
'django_extensions',
'rest_framework',
'djcelery',
'rest_framework'
)
if DEBUG: