title: Django - Enter a list of value
body: <p>MY MODEL :</p>
  
  <pre><code>class Annonce(models.Model):
      created_at = models.DateTimeField(editable=False)
      modified_at = models.DateTimeField()
      title = models.CharField(max_length=24)
      domaines = models.ManyToManyField(Domaine, null=True,related_name="%(app_label)s_%(class)s_related")
  </code></pre>
  
  <p>My FORM :</p>
  
  <pre><code>class annonceForm(forms.ModelForm) :
      class Meta : 
          model = Annonce
          fields = ['title','domaines','presentation']
          widgets = {
              'domaines': forms.Select(attrs={'size': 1}),
              }
  
  def __init__(self, *args, **kwargs):
      super(annonceForm, self).__init__(*args, **kwargs)
      self.fields['domaines'].required = False
      self.fields['domaines'].queryset = Domaine.objects.all().values_list("nom",flat=True)
  </code></pre>
  
  <p>When I want save one Annonce in my form annonceForm, I have this error message : </p>
  
  <blockquote>
    <p>" Enter a list of values " below the Select of "domaines"</p>
  </blockquote>