bookwyrm/celerywyrm/settings.py

16 lines
356 B
Python
Raw Normal View History

""" bookwyrm settings and configuration """
from bookwyrm.settings import *
2021-03-08 16:49:10 +00:00
CELERY_BROKER_URL = env("CELERY_BROKER")
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_BACKEND = "redis"
INSTALLED_APPS = INSTALLED_APPS + [
2021-03-08 16:49:10 +00:00
"celerywyrm",
]
2021-03-08 16:49:10 +00:00
ROOT_URLCONF = "celerywyrm.urls"
2021-03-08 16:49:10 +00:00
WSGI_APPLICATION = "celerywyrm.wsgi.application"