In Django ModelForm, you can change the type of field widgets as follows:
class EntryForm(ModelForm):
entity = forms.CharField()
class Meta:
model = Entry
I can easily create a model model from the same model as this:
EntryFormSet = modelformset_factory(Entry)
But is there a way to enable change of change of input field type when creating modelformset?
source
share