Opened 13 years ago

Closed 13 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 13 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Aymeric Augustin, 13 years ago

Easy pickings: set
Triage Stage: UnreviewedAccepted

comment:2 by elbarto, 13 years ago

Owner: changed from nobody to elbarto

by elbarto, 13 years ago

Attachment: patch.diff added

comment:3 by elbarto, 13 years ago

Has patch: set

comment:4 by Aymeric Augustin, 13 years ago

Triage Stage: AcceptedReady for checkin

comment:5 by Julien Phalip, 13 years ago

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

comment:6 by Gabriel Hurley, 13 years ago

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