Author: adrian
Date: 2006-09-04 18:56:09 -0500 (Mon, 04 Sep 2006)
New Revision: 3719
Modified:
django/trunk/django/template/loader_tags.py
Log:
Added small comment to django.template.loader_tags, to clarify change from
[3465]
Modified: django/trunk/django/template/loader_tags.py
===================================================================
--- django/trunk/django/template/loader_tags.py 2006-09-04 23:49:14 UTC (rev
3718)
+++ django/trunk/django/template/loader_tags.py 2006-09-04 23:56:09 UTC (rev
3719)
@@ -51,7 +51,7 @@
error_msg += " Got this from the %r variable." %
self.parent_name_expr #TODO nice repr.
raise TemplateSyntaxError, error_msg
if hasattr(parent, 'render'):
- return parent
+ return parent # parent is a Template object
try:
source, origin = find_template_source(parent, self.template_dirs)
except TemplateDoesNotExist:
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---