Changes between Initial Version and Version 1 of Ticket #28219, comment 3


Ignore:
Timestamp:
May 17, 2017, 8:33:06 PM (7 years ago)
Author:
Simon Charette

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.
     1I'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.
    22
    33For the record, the `catch_warnings()` method I suggested in my previous comment about ''rewarning'' won't work as it's not threadsafe.
Back to Top