Files
serienbrief_django/serienbrief/app/config/celery.py
T
2026-05-21 10:36:16 +02:00

10 lines
237 B
Python

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()