#7729: template tags: IF IN statement like python -----------------------------+---------------------------------------------- Reporter: lav | Owner: nobody Status: new | Milestone: 1.0 alpha Component: Template system | Version: SVN Keywords: nfa-someday | Stage: Unreviewed Has_patch: 0 | -----------------------------+---------------------------------------------- Is there any ways to check is there an item in the list like in python IF IN statement? as template tag or else....
''if item in items_list: return True'' -- Ticket URL: <http://code.djangoproject.com/ticket/7729> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
