mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +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 = ["*"]
|
ALLOWED_HOSTS = ["*"]
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = ['http://localhost',]
|
||||||
|
|
||||||
# Application definition
|
# Application definition
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
"django.contrib.auth",
|
"django.contrib.auth",
|
||||||
|
|
Loading…
Reference in a new issue