Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#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 Changed 16 months ago by Carlton Gibson

Triage Stage: UnreviewedAccepted

Yes, should be to iterate and yield choices. I’d say.

comment:2 Changed 16 months ago by Mariusz Felisiak

Easy pickings: set

comment:3 Changed 16 months ago by KESHAV KUMAR

Can I take this issue ?

comment:4 Changed 16 months ago by Claude Paroz

Don't ask, just take it when it is not already assigned.

comment:5 Changed 16 months ago by KESHAV KUMAR

Owner: changed from nobody to KESHAV KUMAR
Status: newassigned

comment:6 Changed 16 months ago by Ninad Kulkrni

Owner: changed from KESHAV KUMAR to Ninad Kulkrni

Documentation issue is fixed in the below pull request.

https://github.com/django/django/pull/13335

comment:7 Changed 16 months ago by Ninad Kulkrni

The documentation issue is fixed in the below pull request.

https://github.com/django/django/pull/13336

comment:8 Changed 16 months ago by Mariusz Felisiak

Has patch: set
Triage Stage: AcceptedReady for checkin

comment:9 Changed 16 months ago by Mariusz Felisiak <felisiak.mariusz@…>

Resolution: fixed
Status: assignedclosed

In 927bd888:

Fixed #31906 -- Fixed typo in docs/ref/forms/fields.txt.

comment:10 Changed 16 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In 8fb24a51:

[3.1.x] Fixed #31906 -- Fixed typo in docs/ref/forms/fields.txt.

Backport of 927bd888ddea8bf37aec5515a7367fe8aeb3d1b4 from master

Note: See TracTickets for help on using tickets.
Back to Top