1👍
An IntegerField
[Django-doc] is a form field, not a widget. You specify the field as:
class FeedBackForm(forms.Form):
feedBACK = forms.CharField(widget=forms.Textarea)
rating = forms.IntegerField()
Note: By default, a form field has
required=True
[Django-doc], hence you do not need to mark fields as required.
Source:stackexchange.com