Show More
@@ -192,6 +192,9 b' def buildfunc(exp, context):' | |||||
192 | if n in funcs: |
|
192 | if n in funcs: | |
193 | f = funcs[n] |
|
193 | f = funcs[n] | |
194 | return (f, args) |
|
194 | return (f, args) | |
|
195 | if n in templatefilters.funcs: | |||
|
196 | f = templatefilters.funcs[n] | |||
|
197 | return (f, args) | |||
195 | if n in context._filters: |
|
198 | if n in context._filters: | |
196 | if len(args) != 1: |
|
199 | if len(args) != 1: | |
197 | raise error.ParseError(_("filter %s expects one argument") % n) |
|
200 | raise error.ParseError(_("filter %s expects one argument") % n) |
General Comments 0
You need to be logged in to leave comments.
Login now