Opened 12 years ago

Last modified 12 years ago

#17789 closed Bug

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

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 RelationModel__Field__exact not allowed"

Change History (3)

by Kidwind, 12 years ago

Attachment: options.py.diff added

comment:1 by Aymeric Augustin, 12 years ago

Description: modified (diff)

Fixed formatting -- please use preview.

comment:2 by Aymeric Augustin, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top