Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #4202 -- Corrected namespacing of exception in one of the examp…

…les.

Thanks, luftyluft@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ce0084fbfc2bfaa1e69feb6e2ab81b0844e88757 1 parent 00d2fb7
Malcolm Tredinnick malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/templates_python.txt
2  docs/templates_python.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.