Upgrade celery to 4.4.7

Replace django-celery with django-celery-results
Upgrade redis to latest
This commit is contained in:
Soban Javed
2020-09-04 18:38:26 +05:00
parent a90b66546d
commit b7ca6d5619
18 changed files with 61 additions and 54 deletions

View File

@@ -18,6 +18,7 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'proj.settings')
APP = Celery('proj')
APP.conf.task_protocol = 1
# Using a string here means the worker will not have to
# pickle the object when using Windows.
APP.config_from_object('django.conf:settings')