title: how to get checkbox value in django?
body: <pre><code>&lt;tr name="item"&gt;
          &lt;td&gt;&lt;input type="checkbox" &gt;&lt;/td&gt;
          &lt;td&gt;&gt;{{ foo }}&lt;/td&gt;
          &lt;td&gt; {{ bar }} &lt;/td&gt;
  
  
  &lt;/tr&gt;
  </code></pre>
  
  <p>Now I want that in django views <code>request.POST.getlist('item')</code> returns the value of  ie <code>foo</code> and <code>bar</code>. But it is returning null.</p>