Opened 13 years ago

Last modified 12 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)

by Kidwind, 13 years ago

Attachment: options.py.diff added

comment:1 by Aymeric Augustin, 13 years ago

Description: modified (diff)

Fixed formatting -- please use preview.

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