2608391608
rename backend/ to api/, remove leftover dir ui/
10 lines
258 B
Python
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()
|