[Chicago] 2 unique keys in a python dict?
MDiPierro at cs.depaul.edu
Fri Oct 10 06:38:10 CEST 2008
b) is false in fact I am still not convinced about a). Anyway I appreciate your straight answer.
I will refrain from asking Django questions to this list in the future since it seems to offend people I like and admire and that saddens me.
I also wish to point out again that it was not me who brought up Django on this thread.
From: chicago-bounces+mdipierro=cs.depaul.edu at python.org [chicago-bounces+mdipierro=cs.depaul.edu at python.org] On Behalf Of Cosmin Stejerean [cstejerean at gmail.com]
Sent: Thursday, October 09, 2008 10:13 PM
To: The Chicago Python Users Group
Subject: Re: [Chicago] 2 unique keys in a python dict?
On Oct 9, 2008, at 9:39 PM, Massimo Di Pierro wrote:
> I do not want to insist but I did not get an answer.
> How do I write a query in the Django ORM that generates something
> like "SELECT SUM(....) ... GROUP BY ..." without using SQL explicitly?
I'm not a Django ORM expert but to me it seems that:
a) there is no built-in way at the moment in the django orm to
generate group by queries without falling back to SQL
b) you already know this
c) you keep asking the question anyway
Repeatedly asking the same question here doesn't seem to be producing
results. I highly recommend trying somewhere else. I heard there's a
chicago djangonauts group, maybe you can try bothering them.
Chicago mailing list
Chicago at python.org
More information about the Chicago