title: Django forms select from choices or enter new data
body: <p>I have a Django form in which for some fields I pull choices from my database, shown below.</p>
  <p>I have another field in which the user has to manually type in the data. Is it possible to give that field choices that are present from the database and an option to enter the data if the choice isn't there?</p>
  <p>Example: The field name is player and I would like to have all the players already in database as options to choose from and if it is a new player, the option to enter it.</p>
  <p>Is that what a TypedChoiceField is? I have been trying to find examples but no luck.</p>
  <p>thanks!</p>
  <pre class="lang-py prettyprint-override"><code>    forms
      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
          team_names = TeamName.objects.filter(league__name='MLB').order_by('name')
          teams = [(team.id, team.name)for team in team_names]
          self.fields['team'].choices = teams
  </code></pre>