From ce0084fbfc2bfaa1e69feb6e2ab81b0844e88757 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 8 May 2007 02:48:38 +0000 Subject: [PATCH] Fixed #4202 -- Corrected namespacing of exception in one of the examples. Thanks, luftyluft@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5161 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/templates_python.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates_python.txt b/docs/templates_python.txt index 1eeede1fe8..80943ce510 100644 --- a/docs/templates_python.txt +++ b/docs/templates_python.txt @@ -866,7 +866,7 @@ current context, available in the ``render`` method:: 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