djangosnippets.org: Latest snippets tagged with 'template_string_if_invalid'https://djangosnippets.org/tags/template_string_if_invalid/2008-03-14T04:09:43.318595-05:00Raise Exception on invalid template variable
2008-03-14T04:09:43.318595-05:00guettlihttps://djangosnippets.org/snippets/646/<p>This recipe raises an exception if there is an invalid variable in the template.</p>
<p>See <a href="http://code.djangoproject.com/ticket/6766">#6766</a></p>
<p>Note: I don't need this snippet any more, since I don't use the template language any more. For
my projects using only python is better (complex logic, simple layout).</p>
Freely redistributable