init: added backend boilerplate

This commit is contained in:
ITQ
2025-02-26 17:43:23 +03:00
commit f54518c6e4
31 changed files with 1780 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import os
from celery import Celery
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "config.settings")
app = Celery("project_name")
app.config_from_object("django.conf:settings", namespace="CELERY")
app.autodiscover_tasks()