Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 16 lines (9 sloc) 0.374 kB
d125f98 @arjan doc: Another big batch of filter docs
arjan authored
1 .. highlight:: django
b11a84e @kaos doc: rearranged ref docs to include the meta doc.
kaos authored
2 .. include:: meta-tail.rst
34f54cc @kaos Added documentation stubs.
kaos authored
3
d125f98 @arjan doc: Another big batch of filter docs
arjan authored
4 Fetch the tail of a list.
5
6 Returns the tail of a list. Useful when you want to skip the first
7 element of a list when looping.
8
9 For example::
10
11 {% for a in value|tail %}{{ a|format_number }}{% endfor %}
12
13 When value is the list ``[1,2,3]`` then the output is ``23``.
14
15 .. seealso:: :ref:`filter-first`, :ref:`filter-nthtail`
Something went wrong with that request. Please try again.