On 2010-09-15, at 17:30 , Piotr Kilczuk wrote: > Hi, >> eg. I have test.html and I am passing {resut : 'test application for >> test'} >> now I want to check if the world application is there on not in >> result. >> >> Please suggest the simplest method without using filter. or somthing >> similar to slice > > Wouldn't simply {% if application in resut %} display sth {% endif %} work? > > Regards, > Piotr
Well there's always the issue that it's not a wordwise test, so you could have "applicationeering" in your result and it would still match. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.