Module media_analyzer.celery
Expand source code
import os
from celery import Celery
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "media_analyzer.settings")
app = Celery("media_analyzer")
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()