Ticket #174 (closed enhancement: fixed)
use settings.TEMPLATE_STRING_IF_INVALID in DEBUG mode?
| Reported by: | JensDiemer | Owned by: | JensDiemer |
|---|---|---|---|
| Priority: | trivial | Milestone: | v0.8.5 |
| Component: | system | Keywords: | |
| Cc: |
Description
Should we set a value in settings.TEMPLATE_STRING_IF_INVALID in DEBUG mode?
add something like this into settings:
if DEBUG:
TEMPLATE_STRING_IF_INVALID = "XXX"
Output, as a string, that the template system should use for invalid (e.g. misspelled) variables.
http://www.djangoproject.com/documentation/settings/#template-string-if-invalid
Change History
Note: See
TracTickets for help on using
tickets.