1
0
Fork 0
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:
catborise 2023-09-05 09:08:06 +03:00
parent 77c4f8981b
commit b58c4ef781

View file

@ -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",