mirror of
https://github.com/retspen/webvirtcloud
synced 2024-11-01 03:54:15 +00:00
add CSRF_TRUSTED_ORIGINS with django 4
This commit is contained in:
parent
77c4f8981b
commit
b58c4ef781
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ DEBUG = False
|
|||
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = ['http://localhost',]
|
||||
|
||||
# Application definition
|
||||
INSTALLED_APPS = [
|
||||
"django.contrib.auth",
|
||||
|
|
Loading…
Reference in a new issue