Thank you, Karen.
On Fri, Dec 12, 2008 at 7:42 PM, Karen Tracey <kmtra...@gmail.com> wrote: > On Fri, Dec 12, 2008 at 4:32 AM, Kottiyath Nair <n.kottiy...@gmail.com>wrote: > >> oops!! Unknowingly send the mail before finishing it. >> >> As I was mentioning in the earlier mail: >> What I want is: >> dbmodel.objects.filter(__first_filter).sum(), should be able to sum >> across the filtered data. >> >> If somebody could help me out on this, I would be very thankful. >> > > I don't know of any way to do what you are looking for here without > aggregate support in the ORM. The good news is that's on the 1.1 must-have > features list. The ticket to watch is > http://code.djangoproject.com/ticket/3566. Russell's got the current code > publicly available in a git clone of Django's svn so it's possible to try it > out (if you already use git or are willing to learn it). > > >> >> P.S-> Also, is it safe to use the backends.quote_name for getting the name >> of the table in the DB? Is there any other mechanism to get the original >> name of the table? >> >> > Don't know the answer to this one. > > Karen > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---