class FooForm(forms.ModelForm):


    class Meta:
        model = Foo

def __init__(self, *args, **kwargs):
    super(FooForm, self).__init__(*args, **kwargs)
how to modify choices on admin pages - django