Admin inlines queryset
|Reported by:||pcicman||Owned by:|
|Severity:||Keywords:||admin inlines queryset BaseInlineFormSet|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I think the way how admin inlines are accessed is wrong.
BaseInlineFormSet does not cares about queryset defined in admin istance.
It uses default manager instead, and some filtering on it (filtering is of course right):
Is there any reason why it not uses filtering on queryset returned by queryset method from admin instance instead of default manager? Or is this just a bug?