diff --git a/core/settings.py b/core/settings.py index 9e19490..7d10a55 100644 --- a/core/settings.py +++ b/core/settings.py @@ -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