[patch] list_detail.object_list doesn't support custom querysets
|Reported by:||Owned by:||Jacob|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
It'd be great if the generic object paginator view (
list_detail.object_list) would accept a custom queryset (as described in the custom model Manager docs here) -- that is, a list of fully-fetched model objects.
The backend of the view (
paginator.ObjectPaginator) has explicit support for lists, but object_list calls
queryset._clone which fails for list objects.
Change History (7)
comment:1 Changed 10 years ago by
|Status:||new → closed|
|Summary:||list_detail.object_list doesn't support custom querysets → [patch] list_detail.object_list doesn't support custom querysets|