--
Ticket URL: <https://code.djangoproject.com/ticket/32110>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
As we use `.choices` on the enum classes to return a list of tuples there
isn't really any code to add to make this work AFAICT.
So this perhaps could just be documented for forms pointing to the
documentation at
https://docs.djangoproject.com/en/stable/ref/models/fields/#field-choices-
enum-types
--
Ticket URL: <https://code.djangoproject.com/ticket/32110#comment:2>
Comment (by Claude Paroz):
I'm not so sure if this is already supported or not. But let's add some
tests for that and they will tell us!
--
Ticket URL: <https://code.djangoproject.com/ticket/32110#comment:3>
* has_patch: 0 => 1
Comment:
My suspicions were wrong, it is well supported. PR with test and docs:
[https://github.com/django/django/pull/13550 PR].
--
Ticket URL: <https://code.djangoproject.com/ticket/32110#comment:4>
* owner: nobody => Claude Paroz
* status: new => assigned
* type: New feature => Cleanup/optimization
--
Ticket URL: <https://code.djangoproject.com/ticket/32110#comment:5>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32110#comment:6>