title: Splitting a list with django template tags
body: <p>I have a single list <code>my_list</code>  in my context, and I'd like to render it as two "columns", with the first (n+1)/2 items in the first column and the last n/2 items in the second column.  Is there a straight-forward way to do this with django template tags/filters or do I need to pre-split the list into two in my view?</p>
  
  <p>e.g.,</p>
  
  <pre><code>&lt;div class="split-50-left"&gt;
    &lt;ul&gt; 
      {% for item in [first half of my_list] %}
        &lt;li&gt;{{item}}&lt;/li&gt;
      {% endfor %}
    &lt;/ul&gt;
  &lt;/div&gt;
  &lt;div class="split-50-right"&gt;
    &lt;ul&gt; 
      {% for item in [second half of my_list] %}
        &lt;li&gt;{{item}}&lt;/li&gt;
      {% endfor %}
    &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>