title: Cannot pass initial data to a formset
body: <p>In my Django app i have the following:</p>
  
  <p>form:</p>
  
  <pre><code>class GameForm(forms.ModelForm):  
  
      class Meta:
          model = Game
  
      def __init__(self, *args, **kwargs):
          super(GameForm, self).__init__(*args, **kwargs)
          curr_tournament = Tournament.objects.get(id=self.instance.tournament.id)
          self.queryset = Game.objects.filter(tournament=curr_tournament)
          self.fields['opponent_black'].queryset = curr_tournament.participants
          self.fields['opponent_white'].queryset = curr_tournament.participants
  </code></pre>
  
  <p>in views.py:</p>
  
  <pre><code>    GameFormSet = formset_factory(GameForm)
  </code></pre>
  
  <p>later then:</p>
  
  <pre><code>games = Game.objects.filter(tournament=tournament_id).order_by('number_of_game_in_tour', 'number_of_tour')
  gameformset = GameFormSet(initial=list(games.values()))
  </code></pre>
  
  <p>Finally i'm passing <code>gameformset</code> into template and rendering it like that:</p>
  
  <pre><code>&lt;form&gt;
  {{ gameformset.management_form }}
  {% for gameform in gameformset %}
      {{ gameform }}
  {% endfor %}
  &lt;/form&gt;
  </code></pre>
  
  <p>This all leads to an error:</p>
  
  <pre><code>'auto_id' is an invalid keyword argument for this function
  </code></pre>
  
  <p>I cannot see the reason why this can happen? Maybe you do?</p>