#34899: Model Field.choices callable support is not actually lazy
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Nick Pope
Type: Bug | Status: closed
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: choices, callable, | Triage Stage: Ready for
lazy | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):
In [changeset:"bbe90f3c00eb29a8e86b1b638466029def7f444a" bbe90f3]:
{{{
#!CommitTicketReference repository=""
revision="bbe90f3c00eb29a8e86b1b638466029def7f444a"
[5.0.x] Refs #34899 -- Extracted Field.flatchoices to flatten_choices
helper function.
Co-authored-by: Natalia Bidart <[email protected]>
Backport of 74afcee234f8be989623ccc7c28b9fb97fb548f0 from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34899#comment:9>
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/0107018b5dac6410-c43634cd-ccfc-472c-b147-d3336859f542-000000%40eu-central-1.amazonses.com.