title: How to get array of values from checkbox form Django
body: <p>I have HTML form like this:</p>
  
  <pre><code>    &lt;p&gt;Models Sizes IDs:&lt;/p&gt;
      &lt;input type="checkbox" name="model_size_ids[]" value="1"&gt;XS&lt;/input&gt;
      &lt;input type="checkbox" name="model_size_ids[]" value="2"&gt;S&lt;/input&gt;
      &lt;input type="checkbox" name="model_size_ids[]" value="3"&gt;M&lt;/input&gt;
      &lt;input type="checkbox" name="model_size_ids[]" value="4"&gt;L&lt;/input&gt;
      &lt;button&gt;Submit&lt;/button&gt;
  </code></pre>
  
  <p>I'm trying to receive an array of checked values on server side in my <code>View</code>:</p>
  
  <pre><code>size_ids = request.data['model_size_ids[]']
  </code></pre>
  
  <p>But, I can extract only one and the last value. So if I check 2-3 values in 
  checkbox form, I receive only last value in my view. I also tried to name input field without braсkets and the result was the same. Can anybody tell me, how can I solve that?
  Thanks!</p>