From adef71d2c4656fe4bd08a93428897048e72dae97 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 26 Nov 2005 23:10:09 +0000 Subject: [PATCH] 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 --- django/core/template/defaulttags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/template/defaulttags.py b/django/core/template/defaulttags.py index a4d3704ddc..d70d2a6933 100644 --- a/django/core/template/defaulttags.py +++ b/django/core/template/defaulttags.py @@ -717,7 +717,7 @@ def regroup(parser, token): if lastbits_reversed[1][::-1] != 'as': raise TemplateSyntaxError, "next-to-last argument to 'regroup' tag must be 'as'" - expression = parser.compile_filters('var.%s' % lastbits_reversed[2][::-1]) + expression = parser.compile_filter('var.%s' % lastbits_reversed[2][::-1]) var_name = lastbits_reversed[0][::-1] return RegroupNode(target, expression, var_name)