right-tree/backend/right_tree/api/celery.py

6 lines
145 B
Python
Raw Normal View History

from celery import Celery
app = Celery('righttree')
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()