diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-01-06 03:53:33 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-01-06 03:53:33 +0000 |
| commit | a7da12d32090e887b72093b7e8f2870a8d7cf3a7 (patch) | |
| tree | 059755aa0ce4f5b6769348bbb190edf42f62bbe2 /docs | |
| parent | 1f6bc7ffa774ee7f00ed58f62477be64c1e0451e (diff) | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/templates.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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 ~~~~~~ |
