Author: mtredinnick
Date: 2007-05-07 21:48:38 -0500 (Mon, 07 May 2007)
New Revision: 5161
Modified:
django/trunk/docs/templates_python.txt
Log:
Fixed #4202 -- Corrected namespacing of exception in one of the examples.
Thanks, [EMAIL PROTECTED]
Modified: django/trunk/docs/templates_python.txt
===================================================================
--- django/trunk/docs/templates_python.txt 2007-05-08 02:33:10 UTC (rev
5160)
+++ django/trunk/docs/templates_python.txt 2007-05-08 02:48:38 UTC (rev
5161)
@@ -866,7 +866,7 @@
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---