不再使用django-celery,使用原生celery代替

This commit is contained in:
virusdefender
2016-04-22 21:48:09 +08:00
parent 1e73eca339
commit a210689a07
3 changed files with 1 additions and 6 deletions

View File

@@ -24,9 +24,6 @@ elif ENV == "server":
from .custom_settings import *
import djcelery
djcelery.setup_loader()
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -54,7 +51,6 @@ INSTALLED_APPS = (
'judge_dispatcher',
'rest_framework',
'djcelery',
)
if DEBUG: