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?
Change History (5)
comment:1 Changed 5 years ago by mrts
- Needs documentation unset
- Needs tests unset
- Owner changed from nobody to mrts
- Patch needs improvement unset
- Status changed from new to assigned