Skip to content
Browse files

Added small comment to django.template.loader_tags, to clarify change…

… from [3465]

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b7a352d commit 8e52384b6c3d66ec2f256983c675af5f95983e72 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/template/
2 django/template/
@@ -51,7 +51,7 @@ def get_parent(self, context):
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
source, origin = find_template_source(parent, self.template_dirs)
except TemplateDoesNotExist:

0 comments on commit 8e52384

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