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.
ModelChoiceField
also takes two optional arguments:
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.
ModelChoiceField
also takes two optional arguments:
Please login to continue.