added csrf trust origins

This commit is contained in:
a.feteleu 2019-11-01 15:56:51 +03:00
parent 975063b3f8
commit a36e05d96f

View File

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