summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-09-04 23:56:09 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-09-04 23:56:09 +0000
commit8e52384b6c3d66ec2f256983c675af5f95983e72 (patch)
tree3e1521691862ac82f0d2d48443e42caa6d062baf
parentb7a352d78fdd6608e770992b787a560e2e79438e (diff)
Added small comment to django.template.loader_tags, to clarify change from [3465]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/template/loader_tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/loader_tags.py b/django/template/loader_tags.py
index b20c318f1f..e329b1bb36 100644
--- a/django/template/loader_tags.py
+++ b/django/template/loader_tags.py
@@ -51,7 +51,7 @@ class ExtendsNode(Node):
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: