django template find value within list
- by dotty
Hay, how do i find a value with in python list in django's template system?
example
list = [1,2,3,4,5,6,7]
x = 1
if x is in list:
return u'found!'
else:
return u'not found'
endif:
Something along those lines.
any help would be great