From d9aeee205d93b12c96da449c64c1f17ca8786086 Mon Sep 17 00:00:00 2001 From: chillaranand Date: Fri, 27 Jan 2017 01:33:58 +0530 Subject: [PATCH] Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset. --- 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 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: