projects
/
django_unres.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
07353ad86903429d32733b8f87689f29d0af4e87
[django_unres.git]
/
django_simple
/
todo
/
templatetags
/
index.py
1
from django import template
2
register = template.Library()
3
4
@register.filter
5
def index(indexable, i):
6
return indexable[i-1]
7