#27487: ModelAdmin.formfield_overrides on ManyToManyField isn't compatible with
CheckboxSelectMultiple
-------------------------------------+-------------------------------------
Reporter: nrogers64 | Owner: Adonys
Type: | Alea Boffill
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* needs_better_patch: 0 => 1
Comment:
Thanks for the patch, but I'm not sure this approach will work. You can
add the CSS for the admin, but that choice will appear everyone else
Django renders forms.
By the way, your patch seems inverted -- all additions are removals and
vice versa.
Also, we're hoping to merge [https://github.com/django/django/pull/6498
template-based widget rendering] for 1.11 so it would be nice if a patch
is based on that branch. `ChoiceFieldRenderer`, for example, is removed.
--
Ticket URL: <https://code.djangoproject.com/ticket/27487#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.51e87c47990de674956fa777f09f20d0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.