list_filter no longer does Boolean?

13 views
Skip to first unread message

Lachlan Musicman

unread,
Jun 6, 2019, 2:37:56 AM6/6/19
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 AM6/6/19
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 AM6/8/19
to Django users
The Django docs describe how to create custom list_filter options via your own classes:

Reply all
Reply to author
Forward
0 new messages