Opened 5 years ago

Closed 5 years ago

#16591 closed Bug (fixed)

Bad reference to YEAR_CHOICES

Reported by: santi.romero@… Owned by: elbarto
Component: Documentation Version: 1.3
Severity: Normal Keywords: example, reference, name
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

Example in the following URL ("Setting arguments for widgets") has invalid references to YEAR_CHOICES, RADIO_CHOICES and CHECKBOX_CHOICES. Names used in definitions are BIRTH_YEAR_CHOICES, GENDER_CHOICES and FAVOURITE_COLORS_CHOICES, respectively.

https://docs.djangoproject.com/en/dev/ref/forms/widgets/#setting-arguments-for-widgets

Attachments (1)

patch.diff (991 bytes) - added by elbarto 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by Aymeric Augustin

Easy pickings: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 5 years ago by elbarto

Owner: changed from nobody to elbarto

Changed 5 years ago by elbarto

Attachment: patch.diff added

comment:3 Changed 5 years ago by elbarto

Has patch: set

comment:4 Changed 5 years ago by Aymeric Augustin

Triage Stage: AcceptedReady for checkin

comment:5 Changed 5 years ago by Julien Phalip

Note when committing: instances of "favourite" could be replaced with "favorite" :-)

comment:6 Changed 5 years ago by Gabriel Hurley

Resolution: fixed
Status: newclosed

In [16626]:

Fixed #16591 -- Fixed some mismatched variable names in a widgets reference example. Thanks to santi.romero, el barto, and julien.

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