feat: a lot of a lot

This commit is contained in:
2024-09-01 01:05:11 +03:00
parent 867dfbe597
commit 4ae03284a3
43 changed files with 700 additions and 13 deletions

14
background/celery_app.py Normal file
View File

@@ -0,0 +1,14 @@
from celery import Celery
from backend.config import CELERY_BROKER_URL, CELERY_RESULT_BACKEND
celery = Celery(
__name__,
broker=CELERY_BROKER_URL,
backend=CELERY_RESULT_BACKEND
)
celery.conf.result_backend_transport_options = {
'global_keyprefix': 'crm_'
}
from .tasks import *