make templates fail loudly in dev

1
TEMPLATE_STRING_IF_INVALID = 'XXXXXXXXXXXXXXXXXXX'

More like this

  1. Smart Spaceless by btaylordesign 3 years ago
  2. Partial templates, combine with and include by koblas 4 years ago
  3. google.html template for GoogleAdmin by jbronn 5 years, 6 months ago
  4. google.js template for GoogleAdmin by jbronn 5 years, 6 months ago
  5. Make anything into a template by realmac 6 years, 2 months ago

Comments

Romain Hardouin (on May 13, 2009):

Don't forget that you can insert '%s' as a placeholder for the template variable name. It's usefull to pinpoint bugs. For instance :

TEMPLATE_STRING_IF_INVALID = '{{ %s }}'

#

showell (on May 14, 2009):

Thanks for the tip! I was not aware of that.

#

(Forgotten your password?)