From 32d6a2275ca054e4e7cfb0d78a91d3c0e57fc488 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Sat, 3 Oct 2020 17:42:57 +0200 Subject: [PATCH] Don't manually set the template debug setting This is by default the value of DEBUG, which is what we were doing here anyway --- extras/docker/development/settings.py | 1 - wger/settings.tpl | 1 - 2 files changed, 2 deletions(-) diff --git a/extras/docker/development/settings.py b/extras/docker/development/settings.py index bb6a5ee17..1f9a73752 100644 --- a/extras/docker/development/settings.py +++ b/extras/docker/development/settings.py @@ -7,7 +7,6 @@ from wger.settings_global import * # Use 'DEBUG = True' to get more details for server errors DEBUG = os.environ.get("DJANGO_DEBUG", True) -TEMPLATES[0]['OPTIONS']['debug'] = DEBUG ADMINS = ( ('Your name', 'your_email@example.com'), diff --git a/wger/settings.tpl b/wger/settings.tpl index fa4136214..41c22363f 100644 --- a/wger/settings.tpl +++ b/wger/settings.tpl @@ -7,7 +7,6 @@ from wger.settings_global import * # Use 'DEBUG = True' to get more details for server errors DEBUG = True -TEMPLATES[0]['OPTIONS']['debug'] = True ADMINS = ( ('Your name', 'your_email@example.com'),