title: dict zip key values django template
body: <p>Pairing of 2 dict values.It works.</p>
  
  <pre><code>pair = dict(zip(hide_dict, fp_dict))
      context = {
          'instance': project,
          'user': user,
          'pair': pair,
      }
  </code></pre>
  
  <p>My django html template part,where I am getting error.</p>
  
  <blockquote>
    <p>Exception Type:   ValueError Exception Value:  Need 2 values to unpack
    in for loop; got 6.</p>
  </blockquote>
  
  <p>Am I done false the for loop part ?   Earlier I tried pairing, I tried separately and it works fine.  Now with pairing it shows that the error is in context rendering,but I can't see where.</p>
  
  <pre><code> {% for fp_dict.items,hide_dict.items in pair %}
      {% for key, values in hide_dict.items %}
              {%if values == 1%}
              &lt;div style="display:none"&gt;
                  {% elif  values == 0 %}
                  &lt;div&gt;
                      {% endif %}{% endfor %}
               &lt;div class="row"&gt;
                  &lt;div class="col-sm-12"&gt;
                      &lt;div class="panel panel-default"&gt;
                          &lt;div class="panel-body"&gt;
                              &lt;table class="table"&gt;
                                  &lt;thead&gt;
                                      &lt;tr&gt;
                                          &lt;th&gt;FP Items&lt;/th&gt;
                                      &lt;/tr&gt;
                                  &lt;/thead&gt;
                                    &lt;tbody&gt;
                                          &lt;tr&gt;
                                  {% for key, values in fp_dict.items %}
                                  {% for instance in values %}
                                              &lt;td&gt;&lt;/td&gt;
                                      &lt;td&gt;{{ instance.FP_Item }}&lt;/td&gt;
                                                  &lt;/a&gt;
                                              &lt;/td&gt; --&gt;
                                          &lt;/tr&gt;
                                  &lt;/tbody&gt;
                              &lt;/table&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
  {% endfor %}
  </code></pre>
  
  <p>Dict Values in the view before pairing:
  print(hide_dict)
  {'hide0': 1, 'hide1': 1}</p>
  
  <p>print(fp_dict)</p>
  
  <pre><code>{'fp_list_0': &lt;QuerySet [&lt;FP: olmadan çalışacaktır. - Check - OK - Check - Check - OK - Check - Check - Check&gt;, &lt;FP: depolanabilecek. - Check - OK - Check - Check - OK - Check - Check - Check&gt;, &lt;FP: yönetilebilecektir. - Check - OK - Check - Check - OK - Check - Check
  - Check&gt;, '...(remaining elements truncated)...']&gt;}
  </code></pre>