class TestForm(Form): a = QuerySetSelectField(queryset=self.queryset, widget=lazy_select, get_label=lambda x: x.name.upper())
class F(Form): a = QuerySetSelectField(allow_blank=True, get_label='name', widget=lazy_select) b = QuerySetSelectField(queryset=self.queryset, widget=lazy_select)