title: Django dict(request.POST.lists()) returns twice(normal, empty)
body: <p>Views.py</p>
  <pre class="lang-py prettyprint-override"><code>@login_required(login_url=&quot;/users/login&quot;)
  def tresults(request):
      ids = dict(request.POST.lists())
      print(ids)
      data = ids['selected']
      msg = data.pop(0)
  </code></pre>
  <p>HTML</p>
  <pre class="lang-html prettyprint-override"><code>&lt;form id = &quot;{{ msg }}&quot; action=&quot;tresults&quot; method=&quot;POST&quot;&gt;
               &lt;input type=&quot;hidden&quot; name=&quot;selected&quot; value=&quot;{{ msg }}&quot;&gt;
               &lt;div class=&quot;table-responsive&quot;&gt;
                   &lt;table class=&quot;table table-bordered&quot; id=&quot;dataTable&quot; width=&quot;100%&quot; cellspacing=&quot;0&quot;&gt;
                       &lt;thead&gt;
                           &lt;tr&gt;
                               &lt;th&gt;GuildName&lt;/th&gt;
                               &lt;th&gt;GuildID&lt;/th&gt;
                               &lt;th&gt;Check&lt;/th&gt;
                           &lt;/tr&gt;
                       &lt;/thead&gt;
                       &lt;tbody&gt;
  
                              {% for guild in guilds %}
                                  &lt;tr&gt;
                                      &lt;td&gt;{{ guild.name }}&lt;/td&gt;
                                      &lt;td&gt;{{ guild.id }}&lt;/td&gt;
                                      &lt;td&gt;
                                             {% csrf_token %}
                                             &lt;input type=&quot;checkbox&quot; name=&quot;selected&quot; value=&quot;{{ guild.id }}&quot;/&gt;
                                      &lt;/td&gt;
                                  &lt;/tr&gt;
                              {% endfor %}
                       &lt;/tbody&gt;
                   &lt;/table&gt;
               &lt;/div&gt;
           &lt;/form&gt;
           &lt;a class=&quot;dropdown-item&quot; href=&quot;#&quot; onclick=&quot;document.forms['{{ msg }}'].submit();&quot;&gt;Send&lt;/a&gt;
  </code></pre>
  <p>and I getting from <code>print(ids)</code></p>
  <pre><code>{'selected': ['61660a3afe554cfd1b4fe98f', '880716169986859039'], 'dataTable_length': ['10'], 'csrfmiddlewaretoken': ['OE9lhwbkU1KlKrDHiip1G6Yd5i9oOPS1bA0s2DapHY6RDbXc7UHc4KPd5jOlCLNm']}
  [13/Oct/2021 07:55:57] &quot;POST /posts/post/tresults HTTP/1.1&quot; 302 0
  {}
  Internal Server Error: /posts/post/tresults
  </code></pre>
  <p>I tried with various way like</p>
  <p>request.POST.dict() &lt;- returns with only one value</p>
  <p>request.POST.copy() and dict(ids.iterlists()) or dict(ids) &lt;- not working</p>
  <p>I don't know why two dict printed and last one is empty.
  I want to fix this</p>