Re: Use sub-query in ORM when distinct and order_by columns do not match

2015-01-26 Thread Carl Meyer
Hi Miroslav, On 01/24/2015 08:20 PM, Miroslav Shubernetskiy wrote: > Hi everyone, > > Just created my first django new feature ticket and wanted to get some > community opinion on the topic > - https://code.djangoproject.com/ticket/24218#ticket. Welcome, and thanks for the suggestion + patch! I

Use sub-query in ORM when distinct and order_by columns do not match

2015-01-24 Thread Miroslav Shubernetskiy
Hi everyone, Just created my first django new feature ticket and wanted to get some community opinion on the topic - https://code.djangoproject.com/ticket/24218#ticket. For convenience below is the ticket text: This ticket is to propose a slight change in ORM - use subqueries when querying a