9 lines
138 B
Python
9 lines
138 B
Python
|
from django import template
|
||
|
|
||
|
register = template.Library()
|
||
|
|
||
|
|
||
|
@register.filter
|
||
|
def get_value_at_index(list, index):
|
||
|
return list[index]
|