title: Django and HTML arrays
body: <p>I have a form with this inputs:</p>
  
  <pre><code>&lt;input name="person[name]" value=""&gt;
  &lt;input name="person[surname]" value=""&gt;
  &lt;input name="person[age]" value=""&gt;
  </code></pre>
  
  <p>when I submit, how can i assign that html array to a variable, cause request.POST.getlist('person') doesn't work, i been checking for other post but the only one i found doesn't have anything usefull</p>
  
  <p><a href="https://stackoverflow.com/questions/801354/django-equivalent-of-phps-form-value-array-associative-array">THEAD</a></p>
  
  <p>I hope someone could help me figure it out, cause a read the doc, and did quite get the way to do it...</p>
  
  <hr>
  
  <p>the thing is that i have a table in my db with discounts... where every discount has a default value... so i made it </p>
  
  <pre><code>discounts = Discount.objects.all( )
  
  {% for i in discounts %} 
  &lt;input name="discount[{{ i.id }}]" value="{{ i.default_value }}"&gt; 
  {% endfor %}
  </code></pre>
  
  <p>and on my i dont have any method to catch that html array i'm sending... any suggestions?</p>