From a7da12d32090e887b72093b7e8f2870a8d7cf3a7 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 6 Jan 2008 03:53:33 +0000 Subject: Fixed #5567 -- Added a "last" filter. Based on a patch from darkpixel. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6998 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/templates.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/templates.txt b/docs/templates.txt index ffda321512..c3ed7e5a1c 100644 --- a/docs/templates.txt +++ b/docs/templates.txt @@ -1403,6 +1403,11 @@ join Joins a list with a string, like Python's ``str.join(list)``. +last +~~~~ + +Returns the last item in a list. + length ~~~~~~ -- cgit v1.3