dokku shit

This commit is contained in:
Trey t
2023-06-26 11:00:11 -05:00
parent 8c049324a3
commit 554c37765a
9 changed files with 6 additions and 22 deletions

View File

@@ -1,8 +1,8 @@
import os
from celery import Celery
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'werkout.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'werkout_api.settings')
app = Celery('werkout')
app = Celery('werkout_api')
app.config_from_object('django.conf:settings', namespace='CELERY')
app.autodiscover_tasks()