Fixed #5567 -- Added a "last" filter. Based on a patch from darkpixel.
commit7659ea2f356abfb9a9ae7686332f722b43e1303c
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 6 Jan 2008 03:53:33 +0000 (6 03:53 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Sun, 6 Jan 2008 03:53:33 +0000 (6 03:53 +0000)
tree059755aa0ce4f5b6769348bbb190edf42f62bbe2
parente2a36957331e83e08bbd40148ddc60240d252c4c
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
django/template/defaultfilters.py
docs/templates.txt
tests/regressiontests/templates/filters.py