title: Phantom Brackets in Ajax Call when sending an Array to Django
body: <p>I am trying to send a normal javascript array through an Ajax call and something weird is happening.</p>
  
  <p>Here's my function:</p>
  
  <pre><code>// Save new Strategy
  $('.tab-pane').on('click', 'button.saveStrat', function() {
  
        var stratType = $('#typeValue').val();   // Set by newEntry method in swot-nav.js
        var label = $('#newStratLabel').val();           // Form element in new_swot_modal.html
        var details = $('#newStratDetails').val();       // Form element edit_swot_modal.html
        var entries = [];
  
        // Build a list of SWOT entries that the user has identified as associated to this strategy.
        $('input.entryCheckbox[type=checkbox]').each(function () {
             if (this.checked) {
                 entries.push($(this).val());
             }
           });
  
        console.log(entries);
  
        $.ajax({
            url: '/add_swot_strategy/',
            type: "POST",
            data: {
                'type': stratType,
                'label': label,
                'details': details,
                'entries': entries
            },
  
            dataType: 'json',
            success: function (data) {
                appendNewItem(data, swotType)
            }
        });
  
        resetAddForm()
  
    });
  </code></pre>
  
  <p>And here is how my Django test server receives it:</p>
  
  <p><code>&lt;QueryDict: {'label': [''], 'type': ['A'], 'details': [''], 'entries[]': ['16', '23', '26']}&gt;</code></p>
  
  <p>What's with the extra brackets after the <code>entries</code> label? Is this intended behavior?</p>
  
  <p>Can I go ahead and do it this way or am I breaking the rules?</p>