title: widgets for ChoiceField in modelform
body: <p>I'm using a modelform for my form <code>Post</code> and I'm using a bootstrap starter code as my <code>base.html</code> but because I use the <code>   {% csrf_token %} {{form.as_p}}</code> on my <code>add_blog</code> page, bootstrap doesn't work and because of that it needs <code>class='form-control'</code>, I have managed to do that on all of my fields but Choice input, if I do include my author(choicefield) in the widgets I get a TypeError: <strong>init</strong>() got an unexpected keyword argument 'attrs'</p>
  <pre><code>class PostForm(forms.ModelForm):
  class Meta:
  
      model = Post
      fields = (&quot;title&quot;, &quot;title_tag&quot;, &quot;author&quot;, &quot;body&quot;)
      widget = forms.Select(attrs={&quot;class&quot;: &quot;form-control&quot;})
  
      widgets = {
          'title': TextInput(attrs={'class': 'form-control'}),
          'title_tag': TextInput(attrs={'class': 'form-control'}),
          'body': Textarea(attrs={'class': 'form-control'}),
          'author': ChoiceField(attrs={'class': 'form-control'})
  
  
      }
  </code></pre>