summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
diff options
context:
space:
mode:
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