[1.11.x] Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset.

Backport of d9aeee205d from master
This commit is contained in:
chillaranand 2017-01-27 01:33:58 +05:30 committed by Tim Graham
parent 092f09fcc1
commit a364fb3810
1 changed files with 3 additions and 3 deletions

View File

@ -1123,9 +1123,9 @@ method::
.. attribute:: queryset
A ``QuerySet`` of model objects from which the choices for the
field will be derived, and which will be used to validate the
user's selection.
A ``QuerySet`` of model objects from which the choices for the field
are derived and which is used to validate the user's selection. It's
evaluated when the form is rendered.
``ModelChoiceField`` also takes two optional arguments: