Old syntax: > {% if value|length_is:'n' %}...{% endif %} New syntax: > {% if value|length == n %}...{% endif %} 