Remove django-celery requirement, update default celery config option CELERY_ALWAYS_EAGER to be True at install

This commit is contained in:
Roberto Rosario
2014-10-09 19:11:22 -04:00
parent 59177a53c8
commit 0222474afa
2 changed files with 1 additions and 5 deletions

View File

@@ -45,11 +45,9 @@ INSTALLED_APPS = (
'django.contrib.sites', 'django.contrib.sites',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
# 3rd party # 3rd party
'djcelery',
'compressor', 'compressor',
'corsheaders', 'corsheaders',
'filetransfers', 'filetransfers',
'kombu.transport.django',
'mptt', 'mptt',
'rest_framework', 'rest_framework',
'rest_framework.authtoken', 'rest_framework.authtoken',
@@ -260,9 +258,8 @@ REST_FRAMEWORK = {
) )
} }
# ----------- Celery ---------- # ----------- Celery ----------
BROKER_URL = 'django://'
CELERY_RESULT_BACKEND = 'djcelery.backends.database:DatabaseBackend'
CELERY_TIMEZONE = 'UTC' CELERY_TIMEZONE = 'UTC'
CELERY_ENABLE_UTC = True CELERY_ENABLE_UTC = True
CELERY_ALWAYS_EAGER = True
#------------ CORS ------------ #------------ CORS ------------
CORS_ORIGIN_ALLOW_ALL = True CORS_ORIGIN_ALLOW_ALL = True

View File

@@ -4,7 +4,6 @@ celery==3.1.15
cssmin==0.2.0 cssmin==0.2.0
Django==1.6.7 Django==1.6.7
django-celery==3.1.16
django-filetransfers==0.1.0 django-filetransfers==0.1.0
django-pagination==1.0.7 django-pagination==1.0.7
django-compressor==1.4 django-compressor==1.4