You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I go to the Task Signals admin list and use the list filter by task__name, django raises Filtering by task__name not allowed.
Looking for the docs I found this By default, lookup_allowed() allows access to a model’s local fields, field paths used in list_filter (but not paths from get_list_filter()),
So, we also need to override lookup_allowed with some similar to get it work as expected
What do you think about a fix?
I can open the PR if you prefer
The text was updated successfully, but these errors were encountered:
When I go to the Task Signals admin list and use the list filter by
task__name
, django raisesFiltering by task__name not allowed
.Looking for the docs I found this
By default, lookup_allowed() allows access to a model’s local fields, field paths used in list_filter (but not paths from get_list_filter()),
So, we also need to override lookup_allowed with some similar to get it work as expected

What do you think about a fix?
I can open the PR if you prefer
The text was updated successfully, but these errors were encountered: