Re: Documenting URL params filter behavior with ModelAdmin.lookup_allowed()

2021-02-05 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Yes this sounds like it's worth documenting. Perhaps there could even be a hint in the UI. In my experience admin "power users" end up discovering this feature by accident. On Fri, 5 Feb 2021 at 19:24, Silvio wrote: > Hi all, > > I recently removed a filter from an admin change list view, but

Documenting URL params filter behavior with ModelAdmin.lookup_allowed()

2021-02-05 Thread Silvio
Hi all, I recently removed a filter from an admin change list view, but refreshed the page and to my surprise: the filter still worked! I thought I stumbled upon a bug, but upon closer inspection, this is the correct behavior. That is, by default, the Django admin allows you to filter pretty