I’m setting up a new Django app and need to customize the Admin for a given table by restricting the records where a field is NULL. Basically a built-in, permanent filter.
Seems like changelist_view needs to be overridden, but I’m uncertain what that change would look like.
There’s no code to be included as I’m not overriding changelist_view right now.
You can override default manager, but it has a drawback that you’ll have to explicitly specify original manager in all your queries: