Opened 7 years ago

Closed 7 years ago

#31462 closed Cleanup/optimization (fixed)

Allow overridding widget in formfield_for_manytomany().

Reported by: 007 Owned by: 007
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Mariusz Felisiak)

It does not work when I set widget param to function formfield_for_manytomany().
This is different from the formfield_for_foreignkey() function.

Change History (4)

comment:1 by Mariusz Felisiak, 7 years ago

Description: modified (diff)
Easy pickings: set
Has patch: set
Needs tests: set
Owner: changed from nobody to 007
Summary: formfield_for_manytomany dosnot support custom widget → Allow overridding widget in formfield_for_manytomany().
Triage Stage: Unreviewed → Accepted

comment:2 by 007, 7 years ago

Needs tests: unset

comment:3 by Mariusz Felisiak, 7 years ago

Triage Stage: Accepted → Ready for checkin

comment:4 by Mariusz Felisiak <felisiak.mariusz@…>, 7 years ago

Resolution: → fixed
Status: assigned → closed

In d51c50d8:

Fixed #31462 -- Allowed overriding autocomplete/raw_id_fields/filter widgets for ManyToManyFields with formfield_overrides.

Note: See TracTickets for help on using tickets.
Back to Top