Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 8e52384b6c3d66ec2f256983c675af5f95983e72 1 parent b7a352d
Adrian Holovaty authored September 04, 2006

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

  1. 2  django/template/loader_tags.py
2  django/template/loader_tags.py
@@ -51,7 +51,7 @@ def get_parent(self, context):
51 51
                 error_msg += " Got this from the %r variable." % self.parent_name_expr #TODO nice repr.
52 52
             raise TemplateSyntaxError, error_msg
53 53
         if hasattr(parent, 'render'):
54  
-            return parent
  54
+            return parent # parent is a Template object
55 55
         try:
56 56
             source, origin = find_template_source(parent, self.template_dirs)
57 57
         except TemplateDoesNotExist:

0 notes on commit 8e52384

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