title: to retrieve values of multiple radio buttons and form fields in views.py django
body: <p>i want to receive the radio button values for the table generated within the form multiple times in views.py in django. </p>
  
  <p>My templates file is something like :</p>
  
  <pre><code>&lt;form action = "/appName/accept" method = "POST"
      {% for l in list %}
          &lt;table&gt;
          &lt;tr&gt;
          &lt;td&gt;{{l.value}}&lt;/td&gt; 
          &lt;/&gt;tr
          &lt;/table&gt;  
          &lt;input type = "radio" name = "acceptance" value ="accept"&gt;Accept&lt;/input&gt;
          &lt;input type = "radio" name = "acceptance" value ="reject"&gt;Reject&lt;/input&gt;
       {% endfor %}
       &lt;input type ="submit" name = "submit"&gt;SUBMIT&lt;/input&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>that means rendered page will look like : </p>
  
  <p>value 1 </p>
  
  <ul>
  <li><p>Accept </p></li>
  <li><p>Reject </p></li>
  </ul>
  
  <p>value 2</p>
  
  <ul>
  <li>Accept</li>
  <li>Reject</li>
  </ul>
  
  <p>and so on 
   SUBMIT BUTTON </p>
  
  <p>as soon as user clicks the submit button, I want to collect the values of all the radio buttons for each value as well as the table rows but how to do that in views.py? I know that if we give common name to radio input like here "acceptance", so only of one of them will be selected at a time. Please Help. I am new to this concept and django.   </p>