Any objections to this before I submit a PR for it?
--
Ticket URL: <https://code.djangoproject.com/ticket/27704>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
Please!
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:1>
Comment (by Claude Paroz):
See also #27161
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:2>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
Comment:
Here is a [https://github.com/django/django/pull/7850 preliminary patch].
Obviously needs some more work, but it's a start...
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:3>
Comment (by Claude Paroz):
I've updated the patch and clarified the fact that choices should be
defined on the base_field, not on the ArrayField itself. Hopefully it's a
sensible recommendation!
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:4>
Comment (by Gordon Wrigley):
It would be nice to get this done, it seems such an obvious little change.
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:5>
* owner: (none) => Anvesh Mishra
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:6>
Comment (by Anvesh Mishra):
Submitted a [https://github.com/django/django/pull/15805 patch].
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:7>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:8>
* needs_better_patch: 0 => 1
Comment:
Per [https://github.com/django/django/pull/15805 Nick's review].
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:9>
Comment (by Anvesh Mishra):
Replying to [comment:9 Mariusz Felisiak]:
> Per [https://github.com/django/django/pull/15805 Nick's review].
Can we have a review over this?
--
Ticket URL: <https://code.djangoproject.com/ticket/27704#comment:10>