add CSRF_TRUSTED_ORIGINS
This commit is contained in:
parent
0ffa115ebe
commit
641a3a7d31
|
@ -5,6 +5,9 @@ ALLOWED_HOSTS = [
|
|||
'127.0.0.1',
|
||||
]
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
'http://localhost:8080',
|
||||
]
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY')
|
||||
|
|
Loading…
Reference in New Issue