jazzband / django-polymorphic

Improved Django model inheritance with automatic downcasting
https://django-polymorphic.readthedocs.io
Other
1.65k stars 280 forks source link

Filters are not preserved in polymorphic parent admin #356

Open faxioman opened 6 years ago

faxioman commented 6 years ago

Inheriting from PolymorphicParentModelAdmin class break the django admin "preserve filter" behavior. Removing the "get_preserved_filters" in polymorphic/admin/parentadmin.py solves the problem. Why is this override needed?

duf59 commented 3 months ago

Just came across this, it seems to be from an old fix, but it completely breaks preserved_filters now.