diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 1d8a1c9..2ee8dd4 100644
a
|
b
|
model object (in the case of ``ModelChoiceField``) or multiple model
|
1048 | 1048 | objects (in the case of ``ModelMultipleChoiceField``) into the |
1049 | 1049 | ``cleaned_data`` dictionary of the form. |
1050 | 1050 | |
| 1051 | For more advanced uses, you can specify ``queryset=None`` when declaring the |
| 1052 | form field, and populate the ``queryset`` in the form's ``__init__()`` method:: |
| 1053 | |
| 1054 | class FooMultipleChoiceForm(forms.Form): |
| 1055 | foo_select = forms.ModelMultipleChoiceField( |
| 1056 | label="Foo Selection", |
| 1057 | help_text="Select a Foo from the choices above.", |
| 1058 | queryset=None, |
| 1059 | ) |
| 1060 | |
| 1061 | def __init__(self, *args, **kwargs): |
| 1062 | super(FooMultipleChoiceForm, self).__init__(*args, **kwargs) |
| 1063 | self.fields['foo_select'].queryset = ... |
| 1064 | |
1051 | 1065 | ``ModelChoiceField`` |
1052 | 1066 | ~~~~~~~~~~~~~~~~~~~~ |
1053 | 1067 | |