Index: django/template/defaultfilters.py
===================================================================
--- django/template/defaultfilters.py	(revision 6903)
+++ django/template/defaultfilters.py	(working copy)
@@ -433,6 +433,16 @@
         return u''
 first.is_safe = True
 
+
+def last(value): 
+    "Returns the last item in a list" 
+    try: 
+        return value[-1] 
+    except IndexError: 
+        return u'' 
+last.is_safe = True
+
+
 def join(value, arg):
     """Joins a list with a string, like Python's ``str.join(list)``."""
     try:
Index: docs/templates.txt
===================================================================
--- docs/templates.txt	(revision 6903)
+++ docs/templates.txt	(working copy)
@@ -1403,6 +1403,11 @@
 
 Joins a list with a string, like Python's ``str.join(list)``.
 
+last
+~~~~
+
+Returns the last item in a list.
+
 length
 ~~~~~~
 
