add new features
This commit is contained in:
6
config/conf/celery.py
Normal file
6
config/conf/celery.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.conf import settings
|
||||
|
||||
CELERY_BROKER_URL = 'redis://redis:6379/0'
|
||||
CELERY_ACCEPT_CONTENT = ['json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_TIMEZONE = settings.TIME_ZONE
|
||||
@@ -159,4 +159,5 @@ from config.conf.logs import *
|
||||
from config.conf.cors_headers import *
|
||||
from config.conf.drf_yasg import *
|
||||
from config.conf.jazzmin import *
|
||||
from config.conf.redis import *
|
||||
from config.conf.redis import *
|
||||
from config.conf.celery import *
|
||||
Reference in New Issue
Block a user