Opened 6 years ago

Closed 6 years ago

#30096 closed Cleanup/optimization (invalid)

Use case of extra()

Reported by: Shambhavi Shinde Owned by: nobody
Component: Migrations Version: 2.1
Severity: Normal Keywords: extra
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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].

Change History (1)

comment:1 by Carlton Gibson, 6 years ago

Resolution: invalid
Status: newclosed

Hi. I’m afraid this isn’t a bug report as is.

I'm guessing you’re making the case for extra(). The place to do that would be on Django Developers rather than here.
(But please search the history before doing so as it had been dicussed at length in the past.)

Note: See TracTickets for help on using tickets.
Back to Top