<=

This evaluates to true if the left side compares smaller than the right side or equal to it. This behavior works best with integers or floats.

Template Example

<h3>Projects From Before Including 2000</h3>
<ul>
{% for item in this.children.filter(F.year <= 2000) %}
  <li>{{ item.name }} ({{ item.year }})</li>
{% endfor %}
</ul>

Comments