Move deprecated TEMPLATE_DEBUG setting to the 'options' field of TEMPLATES.

This commit is contained in:
Tehom 2017-11-10 00:34:20 -05:00
parent 5a83d533a5
commit 27e3a8ab7f

View file

@ -636,8 +636,6 @@ RSS_UPDATE_INTERVAL = 60 * 10 # 10 minutes
# browser to display. Note however that this will leak memory when
# active, so make sure to turn it off for a production server!
DEBUG = False
# While true, show "pretty" error messages for template syntax errors.
TEMPLATE_DEBUG = DEBUG
# Emails are sent to these people if the above DEBUG value is False. If you'd
# rather prefer nobody receives emails, leave this commented out or empty.
ADMINS = () # 'Your Name', 'your_email@domain.com'),)
@ -730,7 +728,9 @@ TEMPLATES = [{
'django.template.context_processors.media',
'django.template.context_processors.debug',
'sekizai.context_processors.sekizai',
'evennia.web.utils.general_context.general_context']
'evennia.web.utils.general_context.general_context'],
# While true, show "pretty" error messages for template syntax errors.
"debug": DEBUG
}
}]