On Dec 28, 2007 2:46 PM, Ned Batchelder <[EMAIL PROTECTED]> wrote: > > I'm making a list of objects, and only including some of them in the output: > > {% for thing in mylist %} > {% if thing.test %} > {{thing}} > {% endif %} > {% endfor %} >
Is there a compelling reason not to do the filtering in the view before you even hit the template? Todd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---