title: How to unpack more than one variable on Jinja2
body: <p>I'm trying to unpack more than one variable on jinja template engine. How can I achieve this?</p>
  
  <p>I'm trying to achieve something like this;</p>
  
  <pre><code>{% for item1, item2, item3 in items %}
  &lt;div class="row"&gt;
    &lt;div class="four columns"&gt;
      &lt;img src="static{{ item1.pics.0 }}" class="picitem" alt=""/&gt;
    &lt;/div&gt;
  
    &lt;div class="four columns"&gt;
      &lt;img src="static{{ item2.pics.0 }}" class="picitem" alt="" /&gt;
    &lt;/div&gt;
  
    &lt;div class="four columns"&gt;
      &lt;img src="static{{ item3.pics.0 }}" class="picitem" alt=""/&gt;      
    &lt;/div&gt;
  &lt;/div&gt;
  {% endfor %}
  </code></pre>
  
  <p>This is obviously not working by giving;</p>
  
  <pre><code>ValueError: too many values to unpack
  </code></pre>
  
  <p>Any ideas would be appreciated.</p>