Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django template tag for range

@register.filter(name='times') 
def times(number):
    return range(number)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #template #tag #range
ADD COMMENT
Topic
Name
1+4 =