bookwyrm-mastodon/celerywyrm/settings.py

16 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"