Changes between Initial Version and Version 1 of Ticket #26195, comment 4


Ignore:
Timestamp:
Mar 22, 2016, 12:54:42 PM (9 years ago)
Author:
ris

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26195, comment 4

    initial v1  
    1 Just adding a note to this: it seems there are actually a good few things that will cause an MTI model to throw a hissy fit and silently ignore `.order_by()`. I've now found cases where specifying a related model to `.order_by()` will cause this behaviour whereas simply adding `__pk` to that model lookup will allow it to work fine.
     1Just adding a note to this: it seems there are actually a good few things that will cause an MTI model to throw a hissy fit and silently ignore `.order_by()` calls. I've now found cases where specifying a related model to `.order_by()` will cause this behaviour whereas simply adding `__pk` to that model lookup will allow it to work fine.
Back to Top