Update settings.py
This commit is contained in:
parent
e4dc8fdffe
commit
c7888570fd
@ -139,16 +139,18 @@ DEFAULT_FROM_EMAIL = os.environ.get("DEFAULT_FROM_EMAIL")
|
||||
|
||||
# Realtime
|
||||
ASGI_APPLICATION = "asgi.application"
|
||||
|
||||
CHANNEL_LAYERS = {
|
||||
"default": {
|
||||
"BACKEND": "channels_redis.core.RedisChannelLayer",
|
||||
"CONFIG": {
|
||||
"hosts": [(os.environ.get("REDIS_HOST"), os.environ.get("REDIS_PORT"))],
|
||||
"hosts": [os.environ.get("REDIS_URI")],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user