Files
freqsplit/backend/celery_app.py
T
2025-01-08 01:09:50 +05:30

10 lines
258 B
Python

from celery import Celery
app = Celery('backend')
# Load configuration from Django settings, using the CELERY namespace.
app.config_from_object('django.conf:settings', namespace='CELERY')
# Autodiscover tasks from installed apps.
app.autodiscover_tasks()