title: Django how to render ModelForm field as Multiple choice
body: <p>I have a model form like this:</p>
  
  <pre><code>from django.forms import widgets
  
  class AdvancedSearchForm(forms.ModelForm):
  
      class Meta:
          model= UserProfile
          fields = ( 'name', 'location', 'options')
  </code></pre>
  
  <p>Where 'options' is a list of tuples and is automatically rendered in template as drop down menu. However I want users to be able to choose multiple options in the search form. </p>
  
  <p>I know I need to add a widget to the form class as I looked at the <a href="https://docs.djangoproject.com/en/1.5/ref/forms/fields/#django.forms.ModelChoiceField" rel="nofollow">docs</a> and it seems to me that it needs to be something like this to the class:</p>
  
  <pre><code>widgets = {
      'options':  ModelChoiceField(**kwargs)
  } 
  </code></pre>
  
  <p>However I get this error</p>
  
  <pre><code>name 'MultipleChoiceField' is not defined
  </code></pre>
  
  <p>So Finally could not figure out  how exactly to implement that. So appreciate your help. </p>