add CSRF_TRUSTED_ORIGINS to settings
This commit is contained in:
parent
233d8dfcc6
commit
6c4b897e84
|
@ -33,6 +33,7 @@ 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=[], cast=Csv())
|
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default=[], cast=Csv())
|
||||||
|
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