class SomeForm(forms.Form):
    object = forms.ModelChoiceField(SomeModel.objects.all(), widget=
        LabelledHiddenWidget(get_object=lambda id: get_object_or_404(
        SomeModel, id=id)))
How to get ModelChoiceField instances in the template