tickets: 4412
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4412 | 2007-05-29 05:17:50 | 2011-09-28 16:12:16 | 2022-03-06 03:31:22.662957 | Accepted | closed | Forms | dev | fixed | Allow Select and SelectMultiple widgets to render HTML optgroups from nested choices structures | if the label of a choices iterable is a list or tuple, treat that option as an option group with the value as the label. this shouldn't break any backwards compatibility and negates the need for a separate SelectGrouped widget (which has been previously rejected). | SmileyChris | mrmachine | newforms select widget nested choices optgroup | 1 | 0 | 0 | 0 |