From a36e05d96f0f145bac1298d5e9b65ab772dd63fb Mon Sep 17 00:00:00 2001 From: "a.feteleu" Date: Fri, 1 Nov 2019 15:56:51 +0300 Subject: [PATCH] added csrf trust origins --- project/settings/development.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/settings/development.py b/project/settings/development.py index a6f45b2f..2bd96705 100644 --- a/project/settings/development.py +++ b/project/settings/development.py @@ -6,6 +6,8 @@ from sentry_sdk.integrations.django import DjangoIntegration ALLOWED_HOSTS = ['gm.id-east.ru', '95.213.204.126', '0.0.0.0'] +CSRF_TRUSTED_ORIGINS = ['.gm.id-east.ru', ] + SEND_SMS = False SMS_CODE_SHOW = True USE_CELERY = True