diff options
| author | chillaranand <anand21nanda@gmail.com> | 2017-01-27 01:33:58 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-26 18:54:55 -0500 |
| commit | d9aeee205d93b12c96da449c64c1f17ca8786086 (patch) | |
| tree | 80d6aea91750ad3dd8b32e7c99fd50b353a7554e /docs | |
| parent | 8ae90c58ac6f87aec711701b726fda7b261544cf (diff) | |
Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/forms/fields.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 341d142c4b..dfb5608c25 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -1121,9 +1121,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: |
