mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 20:17:16 +02:00
Merge pull request #1512 from TehomCD/template_deprecation_fix
Replaced deprecated TEMPLATE_DEBUG setting
This commit is contained in:
commit
a787836067
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
}]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue