Ticket #174 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by JensDiemer

  • status changed from new to closed
  • resolution set to fixed

Thinks it a good idea: changeset:1499

Note: See TracTickets for help on using tickets.