From 210e4d39f15aff621e6e002284d37bf7b9caac90 Mon Sep 17 00:00:00 2001 From: Dmitriy Kuzmenko Date: Mon, 4 Nov 2019 18:58:21 +0300 Subject: [PATCH] disabled debug --- project/settings/production.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/project/settings/production.py b/project/settings/production.py index 62f77793..49e972d6 100644 --- a/project/settings/production.py +++ b/project/settings/production.py @@ -4,6 +4,9 @@ from .amazon_s3 import * import sentry_sdk 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'] CSRF_TRUSTED_ORIGINS = ['.next.gaultmillau.com', ]