#32786: Make the subquery ordering clearing optimization more selectively
-------------------------------------+-------------------------------------
     Reporter:  Hannes Ljungberg     |                    Owner:  Hannes
         Type:                       |  Ljungberg
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Hannes Ljungberg):

 A workaround until 4.0 is available is to add a high limit to the query,
 like `qs[:99999]`. This will prevent the ordering from being cleared.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32786#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6c7c33f39f47630050fec92c7d1d5234%40djangoproject.com.

Reply via email to