Opened 9 years ago

Closed 9 years ago

#25608 closed Bug (duplicate)

Add support for "__" lookup in RelatedOnlyFieldListFilter

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

Description

example code:

list_filter = (('company__name', admin.RelatedOnlyFieldListFilter),)

raise FieldError
Cannot resolve keyword 'name' into field. ...

Change History (2)

comment:1 by Tim Graham, 9 years ago

Needs tests: set
Summary: RelatedOnlyFieldListFilter with "__" lookupAdd support for "__" lookup in RelatedOnlyFieldListFilter
Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #25606

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