Changes between Initial Version and Version 1 of Ticket #31262


Ignore:
Timestamp:
Feb 12, 2020, 12:35:37 AM (5 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 FormsDatabase layer (models, ORM)
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Document and explicitly support dictionaries being passed to field choicesSupport dictionaries in Field.choices for named groups.
    • Property Versionmaster
  • Ticket #31262 – Description

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