Re:Django snippets: Smart {% if %} template tag
by yummyfajitas on Wednesday September 02, 2009 @07:58AM
(#799904)
I'm not entirely sure how
{% if a == b %}
will break the site, but {% ifequal a b %}
will not. Maybe if someone destructively overloads __eq__?
The argument seems to be that a template designer should not be able to break the site, that's not a very strong one because after all any brace or % sign removed will break the site just fine.