Changes between Initial Version and Version 1 of Ticket #27982, comment 10
- Timestamp:
- Mar 24, 2017, 6:57:27 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27982, comment 10
initial v1 18 18 As a quick fix for the Django only version is to evaluate the queryset before passing it to the paginator. 19 19 But this doesn't work with DRF because that querysets gets through filtering which returns another queryset which again doesn't have the `_result_cache` populated. 20 Works on DRF too by overriding `paginate_queryset()` on a custom pagination and evaluating the queryset there.