On 3/29/07, Merric Mercer <[EMAIL PROTECTED]> wrote:
>
> I am currently creating a query set of a Model.  I'm then iterating
> through the query set to create a calculation called "total".

This really is something that should be done using an aggregate clause
(SUM(), GROUP BY) on the database side.

Django doesn't currently have support for aggregate clauses - this is
one area that I am keen to improve upon.

In the meantime, you will need to use custom SQL queries.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to