summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorchillaranand <anand21nanda@gmail.com>2017-01-27 01:33:58 +0530
committerTim Graham <timograham@gmail.com>2017-01-26 18:58:43 -0500
commita364fb38107534362a9817d7d3243d4695798ffd (patch)
tree125518646eb7cfdb8e9cf451a7ecc5e0e69c1114 /docs/ref
parent092f09fcc184cf611d5a144172c8b49c25c86577 (diff)
[1.11.x] Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset.
Backport of d9aeee205d93b12c96da449c64c1f17ca8786086 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/forms/fields.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 8dfe26aa79..96fe2a8549 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -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: