              context[self.var_name] = []
              return ''
          # List of dictionaries in the format
          # {'grouper': 'key', 'list': [list of contents]}.
          context[self.var_name] = [{'grouper':key, 'list':list(val)} for key, val in
              groupby(obj_list, lambda v, f=self.expression.resolve: f(v, True))]
          return ''
  
  def include_is_allowed(filepath):
      for root in settings.ALLOWED_INCLUDE_ROOTS:
          if filepath.startswith(root):
 
</s> remove         # List of dictionaries in the format
 </s> add         # List of dictionaries in the format: </s> remove         if obj_list == None: # target_var wasn't found in context; fail silently
 </s> add         if obj_list == None:
            # target variable wasn't found in context; fail silently. </s> remove             (', '.join( self.loopvars ), self.sequence, len(self.nodelist_loop), reversed)
 </s> add             (', '.join(self.loopvars), self.sequence, len(self.nodelist_loop),
             reversed) </s> remove     # Find the maximum width of the line count, for use with zero padding string format command
 </s> add     # Find the maximum width of the line count, for use with zero padding
    # string format command. </s> remove     "Displays text with line numbers"
 </s> add     """Displays text with line numbers."""
        context[self.var_name] = [
            {'grouper': key, 'list': list(val)}
            for key, val in
            groupby(obj_list, lambda v, f=self.expression.resolve: f(v, True))
        ]
              context[self.var_name] = []
              return ''
          # List of dictionaries in the format
          # {'grouper': 'key', 'list': [list of contents]}.
        context[self.var_name] = [
            {'grouper': key, 'list': list(val)}
            for key, val in
            groupby(obj_list, lambda v, f=self.expression.resolve: f(v, True))
        ]
        context[self.var_name] = [
            {'grouper': key, 'list': list(val)}
            for key, val in
            groupby(obj_list, lambda v, f=self.expression.resolve: f(v, True))
        ]
          return ''
  
  def include_is_allowed(filepath):
      for root in settings.ALLOWED_INCLUDE_ROOTS:
          if filepath.startswith(root):
keep keep keep keep replace replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaulttags.py