#31851: list_filter not working with foreign keys
-----------------------------------------+------------------------
Reporter: Tom Carrick | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
From what I understand reading the docs, this should work, where `author`
is a foreign key:
{{{
list_filter = ["author"]
}}}
But it silently fails, it just doesn't show on the page. However, if I
specify the field, it works fine:
{{{
list_filter = ["author__name"]
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31851>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.2951d29935aaec286e09f394177b03e8%40djangoproject.com.