#31906 closed Bug (fixed)
Possible ModelChoiceIterator docs typo
Reported by: | Claude Paroz | Owned by: | Ninad Kulkrni |
---|---|---|---|
Component: | Documentation | Version: | 3.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
In https://docs.djangoproject.com/fr/3.1/ref/forms/fields/#modelchoiceiterator, under field
, it is written:
The instance of ModelChoiceField or ModelMultipleChoiceField to iterator and yield choice.
Should iterator
be iterate
, or did I miss something? And choice
or choices
?
Change History (10)
comment:1 by , 4 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 4 years ago
Easy pickings: | set |
---|
comment:5 by , 4 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:6 by , 4 years ago
Owner: | changed from | to
---|
Documentation issue is fixed in the below pull request.
comment:8 by , 4 years ago
Has patch: | set |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
Yes, should be
to iterate and yield choices
. I’d say.