How to get ModelChoiceField instances in the template
问题 I have a ModelForm that contains a ModelChoiceField using the RadioSelect widget. class MyAForm(forms.ModelForm): one_property = models.ModelChoiceField( widget=forms.RadioSelect, queryset=MyBModel.objects.filter(visible=True), empty_label=None) class Meta: model = MyAModel There are attributes on MyBModel that I want to display next to the radio button. I would override label_from_instance on a sub-class of ModelChoiceField but this does not allow me to do what I want as I want the radio