title: Checking the number of elements in an array in a Django template
body: <p>I want to see if the number of elements in an array in my Django template is greater than 1. Can i use the following syntax for doing that ?</p>
  
  <pre><code>{% if {{myarr|length}} &gt; 1 %}
  &lt;!-- printing some html here --&gt;
  {% endif %}
  </code></pre>
  
  <p>Thank You</p>