#30096: Use case of extra()
------------------------------------------------+------------------------
               Reporter:  shambhavishinde       |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Migrations            |        Version:  2.1
               Severity:  Normal                |       Keywords:  extra
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 extra() is being used by me in a project where I wish to order a queryset
 according to a specific order of ids.

 Eg. Order Food objects in the order of foreign key carb_ids = [2,3,5,1].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30096>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/058.1dc0c0804550698cc739db28c2f22fe0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to