class FooForm(forms.Form):
    bar = forms.ModelChoiceField(queryset=Bar.objects.none())

def __init__(self, *args, **kwargs):
    qs = kwargs.pop('bars')
super(FooForm, self).__init__(*args, **kwargs)
How to dynamically set the queryset of a models.ModelChoiceField on a forms.Form subclass