From a364fb38107534362a9817d7d3243d4695798ffd Mon Sep 17 00:00:00 2001 From: chillaranand Date: Fri, 27 Jan 2017 01:33:58 +0530 Subject: [PATCH] [1.11.x] Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset. Backport of d9aeee205d93b12c96da449c64c1f17ca8786086 from master --- docs/ref/forms/fields.txt | 6 +++--- 1 file 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: