mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-16 18:36:18 +00:00
celery settings
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
"""
|
||||
notifications utils file
|
||||
"""
|
||||
import constant as constant
|
||||
# third party imports
|
||||
from fcm_django.models import FCMDevice
|
||||
from celery import shared_task
|
||||
|
@ -238,6 +238,13 @@ GOOGLE_CLIENT_ID = os.getenv('GOOGLE_CLIENT_ID')
|
||||
# google client secret key
|
||||
GOOGLE_CLIENT_SECRET = os.getenv('GOOGLE_CLIENT_SECRET')
|
||||
|
||||
# CELERY SETUP
|
||||
CELERY_BROKER_URL = os.getenv('CELERY_BROKER_URL')
|
||||
CELERY_RESULT_BACKEND = os.getenv('CELERY_RESULT_BACKEND')
|
||||
CELERY_ACCEPT_CONTENT = ['application/json']
|
||||
CELERY_TASK_SERIALIZER = 'json'
|
||||
CELERY_RESULT_SERIALIZER = 'json'
|
||||
|
||||
# email settings
|
||||
EMAIL_BACKEND = os.getenv("MAIL_BACKEND")
|
||||
EMAIL_HOST = os.getenv("MAIL_HOST")
|
||||
|
Reference in New Issue
Block a user