2023-01-21 14:15:36 -07:00

9 lines
188 B
Python

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