djangosnippets.org: Latest snippets posted by bitprophethttps://djangosnippets.org/users/bitprophet/2007-04-13T13:44:45.746187-05:00bitprophet"If in" templatetag
2007-04-13T13:44:45.746187-05:00bitprophethttps://djangosnippets.org/snippets/177/<p>It's been a while, but I think I made this by copying and pasting the default {% if %} tag and modifying it. Does what it says, lets you test for inclusion in a list, in templates, like so: {% ifin item list %}.</p>
Freely redistributable