There are some very neat fixes to the more glaring issues with Djangos templating language, for instance the if statement.<p>edit: more digging:<p><a href="http://www.djangosnippets.org/snippets/1350/" rel="nofollow">http://www.djangosnippets.org/snippets/1350/</a>