moviewyrm/celerywyrm/settings.py
Mouse Reeve b4ae639dab Imports bookwyrm settings into celery settings
It was redundant and super bug-prone!
2021-05-10 14:20:27 -07:00

15 lines
356 B
Python

""" bookwyrm settings and configuration """
from bookwyrm.settings import *
CELERY_BROKER_URL = env("CELERY_BROKER")
CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_BACKEND = "redis"
INSTALLED_APPS = INSTALLED_APPS + [
"celerywyrm",
]
ROOT_URLCONF = "celerywyrm.urls"
WSGI_APPLICATION = "celerywyrm.wsgi.application"