Changes between Initial Version and Version 1 of Ticket #31262


Ignore:
Timestamp:
Feb 12, 2020, 12:35:37 AM (7 years ago)
Author:
Mariusz Felisiak
Comment:

Agreed, we can officially add this even in Django 3.1, because we've already made a decision to assume that dictionaries preserve ordering (see #30159 and ​a short discussion).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31262

    • Property Component Forms → Database layer (models, ORM)
    • Property Triage Stage Unreviewed → Accepted
    • Property Summary Document and explicitly support dictionaries being passed to field choices → Support dictionaries in Field.choices for named groups.
    • Property Version → master
  • Ticket #31262 – Description

    initial v1  
    11The Django documentation gives this example for creating named groups of choices:
    2 
    32
    43{{{
Back to Top