Kaydet (Commit) d9aeee20 authored tarafından chillaranand's avatar chillaranand Kaydeden (comit) Tim Graham

Fixed #27501 -- Documented lazy evaluation of ModelChoiceField.queryset.

üst 8ae90c58
...@@ -1121,9 +1121,9 @@ method:: ...@@ -1121,9 +1121,9 @@ method::
.. attribute:: queryset .. attribute:: queryset
A ``QuerySet`` of model objects from which the choices for the A ``QuerySet`` of model objects from which the choices for the field
field will be derived, and which will be used to validate the are derived and which is used to validate the user's selection. It's
user's selection. evaluated when the form is rendered.
``ModelChoiceField`` also takes two optional arguments: ``ModelChoiceField`` also takes two optional arguments:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment