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