diff --git a/.gitignore b/.gitignore index f534bd8..61270dc 100644 --- a/.gitignore +++ b/.gitignore @@ -91,6 +91,6 @@ db.sqlite3 .vscode/ media dump.rdb -celerybeat-schedule +celerybeat-schedule.db .idea/ diff --git a/AlumniConnect/settings/common.py b/AlumniConnect/settings/common.py index 38e7a33..60be533 100644 --- a/AlumniConnect/settings/common.py +++ b/AlumniConnect/settings/common.py @@ -135,8 +135,8 @@ TEMPUS_DOMINUS_LOCALIZE = True # CELERY STUFF -CELERY_BROKER_URL = 'redis://localhost:6379' -CELERY_RESULT_BACKEND = 'redis://localhost:6379' +CELERY_BROKER_URL = 'redis://localhost:6379/0' +# CELERY_RESULT_BACKEND = 'redis://localhost:6379/1' CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_TASK_SERIALIZER = 'json' CELERY_RESULT_SERIALIZER = 'json'