You mean that?
https://docs.djangoproject.com/en/1.2/topics/db/aggregation/#values
Martin
On Fri, 16 Sep 2011 14:05:13 +0200, dave bl <db.pub.m...@gmail.com> wrote:
When is the django orm going to get a "group by" function ? (this is
srs buz ... Y NO HAZ?). I see that there have been various
changes(getting closer! - with aggregates and annotate) ... and
attempts in the past. Is there a "solid" reason for not supporting
"group by" in the ORM ... (yet) ?
--
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.