disabled debug

This commit is contained in:
Dmitriy Kuzmenko 2019-11-04 18:58:21 +03:00
parent f9a1747143
commit 210e4d39f1

View File

@ -4,6 +4,9 @@ from .amazon_s3 import *
import sentry_sdk import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration from sentry_sdk.integrations.django import DjangoIntegration
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
ALLOWED_HOSTS = ['*.next.gaultmillau.com', 'api.gaultmillau.com'] ALLOWED_HOSTS = ['*.next.gaultmillau.com', 'api.gaultmillau.com']
CSRF_TRUSTED_ORIGINS = ['.next.gaultmillau.com', ] CSRF_TRUSTED_ORIGINS = ['.next.gaultmillau.com', ]