#35854: Order of "choices" on CharField randomly changing forcing new migrations
despite no changes.
----------------------------+--------------------------------------
Reporter: Karl | Owner: (none)
Type: Bug | Status: closed
Component: Migrations | Version: 5.1
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------------------------
Comment (by Claude Paroz):
I don't think that a `set()` is a supported data structure for model field
choices. Maybe we should replace `A mapping or iterable in the format
described below` by `A mapping or sequence in the format described below`
in [https://docs.djangoproject.com/en/5.1/ref/models/fields/#choices the
docs]?
--
Ticket URL: <https://code.djangoproject.com/ticket/35854#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070192b06ce5b1-1cd3abc0-30ac-47c0-b31f-91e06d0589cf-000000%40eu-central-1.amazonses.com.