summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-08 02:48:38 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-08 02:48:38 +0000
commitce0084fbfc2bfaa1e69feb6e2ab81b0844e88757 (patch)
tree3f0eba61f318a424d4115ef6d3c8cfd1bde5bc36 /docs/templates_python.txt
parent00d2fb7e70580d742e37992d4bd83d58aa0018d8 (diff)
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
Diffstat (limited to 'docs/templates_python.txt')
-rw-r--r--docs/templates_python.txt2
1 files changed, 1 insertions, 1 deletions
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