1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 15:15:22 +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 = ["*"]
CSRF_TRUSTED_ORIGINS = ['http://localhost',]
# Application definition
INSTALLED_APPS = [
"django.contrib.auth",