title: Django template language - remove item from a list
body: <p>Just a quick question: is there a way to remove an item from a list in the Django template language?</p>
  
  <p>I have a situation where I'm iterating through one list, and printing the first item in another list. Once the first item is printed I want to remove it from that list.</p>
  
  <p>See below:</p>
  
  <pre><code>{% for item in list1 %}
       {{list2.0}}
       #remove list2.0 from list2
  {% endfor %}
  </code></pre>
  
  <p>Thanks in advance.</p>