On 11/8/05, Joey Coleman <[EMAIL PROTECTED]> wrote:
>   Are there any plans to incorporate the GROUP BY and HAVING clauses
> into the model API somehow, or is current best practice to just write
> python to do it?

No, there aren't any immediate plans to incorporate GROUP BY and
HAVING. In your case, I'd suggest writing custom SQL, which is very
easy in Django. Check out this example:

http://www.djangoproject.com/documentation/models/custom_methods/

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to