jago escribió:
> Hi,
>
> I use Django 0.96 and wonder if one can check if a value is in a list;
>
> {% if value in mylist %}
> ...
> {% endif %}
>
Not in django itself.
You need to write your own tag.
Here you have one http://www.djangosnippets.org/snippets/302/
Regards.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---