Index: docs/templates_python.txt
===================================================================
--- docs/templates_python.txt	(revision 5127)
+++ docs/templates_python.txt	(working copy)
@@ -866,7 +866,7 @@
             try:
                 actual_date = resolve_variable(self.date_to_be_formatted, context)
                 return actual_date.strftime(self.format_string)
-            except VariableDoesNotExist:
+            except template.VariableDoesNotExist:
                 return ''
 
 ``resolve_variable`` will try to resolve ``blog_entry.date_updated`` and then
