From 3e24a279320295bcc9f8643d2762a1b1b4cccd99 Mon Sep 17 00:00:00 2001 From: Elijah Date: Mon, 22 Jan 2024 13:08:37 +0100 Subject: [PATCH] Modified default to fix AttributeError --- trustchain_idhub/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trustchain_idhub/settings.py b/trustchain_idhub/settings.py index 15c1e82..290ff63 100644 --- a/trustchain_idhub/settings.py +++ b/trustchain_idhub/settings.py @@ -33,8 +33,8 @@ SECRET_KEY = config('SECRET_KEY') DEBUG = config('DEBUG', default=False, cast=bool) DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool) -ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=[]) -CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default=[]) +ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='', cast=Csv()) +CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default='', cast=Csv()) DOMAIN = config("DOMAIN", "http://localhost")