dongpoliu / django-template-utils

Automatically exported from code.google.com/p/django-template-utils
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Variables to compare blocks can't be filtered #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A template with the code:
{% if_greater a_list|length 0 %}
foo
{% endif_greater %}

will print "foo" even if a_list is zero elements long.

Original issue reported on code.google.com by jwin...@gmail.com on 24 Jan 2008 at 8:24

GoogleCodeExporter commented 9 years ago
This is an upstream bug due to django.template.Variable not resolving filter 
expressions.

Original comment by ubernost...@gmail.com on 15 May 2008 at 10:05