Opened 6 years ago

Last modified 5 years ago

#29919 closed Bug

Using RelatedOnlyFieldListFilter with ManyToMany causes exception — at Initial Version

Reported by: Dan Moore Owned by: nobody
Component: contrib.admin Version: 2.1
Severity: Normal Keywords:
Cc: Collin Anderson Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Using RelatedOnlyFieldListFilter with ManyToMany causes this exception:

get_choices() got an unexpected keyword argument 'limit_choices_to'

This method in ForeignObjectRel.get_choices is missing the parameter that Field.get_choices has.

Change History (0)

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