As of Django 1.2; if supports boolean operations and filters, so you can write this as:
{% if myarr|length > 1 %}
<!-- printing some html here -->
{% endif %}
See the Django Project documentation for if with filters.
As of Django 1.2; if supports boolean operations and filters, so you can write this as:
{% if myarr|length > 1 %}
<!-- printing some html here -->
{% endif %}
See the Django Project documentation for if with filters.