Modified default to fix AttributeError
This commit is contained in:
parent
9882a467f9
commit
3e24a27932
|
@ -33,8 +33,8 @@ SECRET_KEY = config('SECRET_KEY')
|
||||||
DEBUG = config('DEBUG', default=False, cast=bool)
|
DEBUG = config('DEBUG', default=False, cast=bool)
|
||||||
DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool)
|
DEVELOPMENT = config('DEVELOPMENT', default=False, cast=bool)
|
||||||
|
|
||||||
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=[])
|
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='', cast=Csv())
|
||||||
CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default=[])
|
CSRF_TRUSTED_ORIGINS = config('CSRF_TRUSTED_ORIGINS', default='', cast=Csv())
|
||||||
|
|
||||||
DOMAIN = config("DOMAIN", "http://localhost")
|
DOMAIN = config("DOMAIN", "http://localhost")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue