Add CSRF_TRUSTED_ORIGINS
to environment-settable settings
This commit is contained in:
parent
9c2084903f
commit
7236b55467
@ -178,6 +178,7 @@ class Base(Configuration):
|
|||||||
class NonCIBase(Base):
|
class NonCIBase(Base):
|
||||||
"""required for all but CI"""
|
"""required for all but CI"""
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = values.ListValue([])
|
||||||
DATABASES = values.DatabaseURLValue(environ_required=True)
|
DATABASES = values.DatabaseURLValue(environ_required=True)
|
||||||
EMAIL = values.EmailURLValue(environ_required=True)
|
EMAIL = values.EmailURLValue(environ_required=True)
|
||||||
# TODO: should validate emails
|
# TODO: should validate emails
|
||||||
|
Loading…
Reference in New Issue
Block a user