Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't manually set the template debug setting

Roland Geider32d6a2275ca0
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', '[email protected]'),
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', '[email protected]'),