Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored May 08, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/templates_python.txt
2  docs/templates_python.txt
@@ -866,7 +866,7 @@ current context, available in the ``render`` method::
866 866
             try:
867 867
                 actual_date = resolve_variable(self.date_to_be_formatted, context)
868 868
                 return actual_date.strftime(self.format_string)
869  
-            except VariableDoesNotExist:
  869
+            except template.VariableDoesNotExist:
870 870
                 return ''
871 871
 
872 872
 ``resolve_variable`` will try to resolve ``blog_entry.date_updated`` and then

0 notes on commit ce0084f

Please sign in to comment.
Something went wrong with that request. Please try again.