Files

10 lines
237 B
Python
Raw Permalink Normal View History

2026-05-21 10:36:16 +02:00
import os
from celery import Celery
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings.production")
app = Celery("serienbrief")
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()