Modified default to fix AttributeError

This commit is contained in:
Elijah 2024-01-22 13:08:37 +01:00
parent 9882a467f9
commit 3e24a27932

View file

@ -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")