From 255b39e66be6decfea5d60a6638a6cd6a1f3e6b7 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 7 Jul 2021 01:08:58 +0200 Subject: [PATCH] . --- tabby/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby/settings.py b/tabby/settings.py index 2b16a55..b3c7be2 100644 --- a/tabby/settings.py +++ b/tabby/settings.py @@ -16,7 +16,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent SECRET_KEY = 'django-insecure-jw3fshufj(1$iv+&9bie=r%27+^e2sz0!_gq38*5p5!csrm&#s' # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = bool(os.getenv('DEBUG', False)) ALLOWED_HOSTS = ['*']