title: django one submit form several input same name
body: <p>In a template i have one form with several inputs same name as in the example below.
  (the name of the inputs is allways the same, but the value is different, for example rate in one case is 743.80 and in the other form 669.32).
  I need to know how to post all the same name inputs without they repalce each other. In php i was using name="rate[]" and then for each, but i don´t have idea, how to make with it python / django.
  Any idea?</p>
  
  <pre><code>&lt;form method="POST"&gt;
  
      &lt;input type="hidden" name="hotel" value="{{ hotel.id }}" &gt;
      &lt;input type="hidden" name="room" value="{{ room.id }}" &gt;
      &lt;input type="hidden" name="policy" value="1" &gt;
      &lt;input type="hidden" name="rate" value="743.80" &gt;
      &lt;select name="qty"&gt;
      &lt;option value="0"&gt;0&lt;/option&gt;
      &lt;option value="1"&gt;1&lt;/option&gt;
      &lt;option value="2"&gt;2&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;input type="hidden" name="hotel" value="{{ hotel.id }}" &gt;
      &lt;input type="hidden" name="room" value="{{ room.id }}" &gt;
      &lt;input type="hidden" name="policy" value="1" &gt;
      &lt;input type="hidden" name="rate" value="669.32" &gt;
      &lt;select name="qty"&gt;
      &lt;option value="0"&gt;0&lt;/option&gt;
      &lt;option value="1"&gt;1&lt;/option&gt;
      &lt;option value="2"&gt;2&lt;/option&gt;
      &lt;/select&gt;
  
    &lt;input type="submit" value="Enviar"&gt;
    &lt;/form&gt;
  </code></pre>