Using filters with args #2

merged 6 commits into from Sep 6, 2011


None yet

2 participants


In current version applying filters to args doesn't work. For example:

{% mytag arg1|upper %} {# will raise exception #}

This feature has been added, using parser.compile_filter(token) instead of Variable(token). Tests have been added too.

Also some changed were made for NodeTests and ParserTests to work fine with FilteredExpression objects.

@vbmendes vbmendes merged commit a0865ac into vbmendes:master Sep 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment