Opened 7 years ago

Last modified 7 years ago

#17789 closed Bug

when i use a custom FieldListFilter class for a given field. — at Version 1

Reported by: Kidwind Owned by: nobody
Component: contrib.admin Version: 1.4
Severity: Normal Keywords: FieldListFilter
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Aymeric Augustin)

when i use a custom FieldListFilter class for a given field.

list_filter = ('Site', ('RelationModel__Field', MyCustomFieldListFilter),)

i get "Filtering by RelationModelFieldexact not allowed"

Change History (2)

Changed 7 years ago by Kidwind

Attachment: options.py.diff added

comment:1 Changed 7 years ago by Aymeric Augustin

Description: modified (diff)

Fixed formatting -- please use preview.

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