dokku shit

This commit is contained in:
Trey t
2023-06-26 10:24:35 -05:00
parent 6e302bf860
commit 4ab091d610
12 changed files with 296 additions and 8 deletions

8
werkout_api/celery.py Normal file
View File

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