Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed bug in [1443] -- renamed compile_filters call to compile_filter

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit adef71d2c4656fe4bd08a93428897048e72dae97 1 parent ac91a22
Adrian Holovaty authored

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

  1. 2  django/core/template/defaulttags.py
2  django/core/template/defaulttags.py
@@ -717,7 +717,7 @@ def regroup(parser, token):
717 717
     if lastbits_reversed[1][::-1] != 'as':
718 718
         raise TemplateSyntaxError, "next-to-last argument to 'regroup' tag must be 'as'"
719 719
 
720  
-    expression = parser.compile_filters('var.%s' % lastbits_reversed[2][::-1])
  720
+    expression = parser.compile_filter('var.%s' % lastbits_reversed[2][::-1])
721 721
 
722 722
     var_name = lastbits_reversed[0][::-1]
723 723
     return RegroupNode(target, expression, var_name)

0 notes on commit adef71d

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