Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
list_filter no longer does Boolean?
13 views
Skip to first unread message
Lachlan Musicman
unread,
Jun 6, 2019, 2:37:56 AM
6/6/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hola,
I seem to remember when list_filter did booleans - does it no longer?
Cheers
L.
--
------
"The fact that you're still saying something like 'feminism gone mad' suggests that feminism hasn't gone mad ENOUGH yet."
Helen Zaltzman /
@HelenZaltzman
https://twitter.com/HelenZaltzman/status/1065384934846545920
Lachlan Musicman
unread,
Jun 6, 2019, 2:40:23 AM
6/6/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
On Thu, 6 Jun 2019 at 16:36, Lachlan Musicman <
dat...@gmail.com
> wrote:
Hola,
I seem to remember when list_filter did booleans - does it no longer?
Oh. I see that it does - if it's a BooleanField, but not for a method on the Model class?
Derek
unread,
Jun 8, 2019, 2:58:04 AM
6/8/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
The Django docs describe how to create custom list_filter options via your own classes:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_filter
Reply all
Reply to author
Forward
0 new messages