diff options
Diffstat (limited to 'django/template/__init__.py')
| -rw-r--r-- | django/template/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py index eba2429928..66c415a8c4 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -551,8 +551,8 @@ class FilterExpression(object): elif var_arg: args.append((True, Variable(var_arg))) filter_func = parser.find_filter(filter_name) - self.args_check(filter_name,filter_func, args) - filters.append( (filter_func,args)) + self.args_check(filter_name, filter_func, args) + filters.append((filter_func, args)) upto = match.end() if upto != len(token): raise TemplateSyntaxError("Could not parse the remainder: '%s' from '%s'" % (token[upto:], token)) |
