Don't manually set the template debug setting

This is by default the value of DEBUG, which is what we were doing here anyway
This commit is contained in:
Roland Geider
2020-10-03 17:42:57 +02:00
parent 5bdcb7edb6
commit 32d6a2275c
2 changed files with 0 additions and 2 deletions

View File

@@ -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'),

View File

@@ -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'),