Changes between Initial Version and Version 1 of Ticket #28219, comment 3
- Timestamp:
- May 17, 2017, 8:33:06 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28219, comment 3
initial v1 1 I'm pretty sure this is caused by your `Order` model's queryset not being ordered but it's hard to tell without your model and DRF view definitions. In all cases there's not Django can do to solve your specific DRF issue. It should make sure the queryset passed to paginator is ordered and decide what to do from there.1 I'm pretty sure this is caused by your `Order` model's queryset not being ordered but it's hard to tell without your model and DRF view definitions. In all cases there's not much Django can do to solve your specific DRF issue. It should make sure the queryset passed to paginator is ordered and decide what to do from there. 2 2 3 3 For the record, the `catch_warnings()` method I suggested in my previous comment about ''rewarning'' won't work as it's not threadsafe.