mirror of
https://github.com/wger-project/wger.git
synced 2026-12-02 10:09:21 +01:00
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:
@@ -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'),
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user