#9799: django.db.models.sql.query.BaseQuery.get_count() works wrong with GROUP BY ---------------------------------------------------+------------------------ Reporter: syabro | Owner: nobody Status: closed | Milestone: Component: Database layer (models, ORM) | Version: 1.0 Resolution: wontfix | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by mtredinnick):
* status: new => closed * needs_better_patch: => 0 * resolution: => wontfix * needs_tests: => 0 * needs_docs: => 0 Comment: This is true, but it's not currently intended to work with group_by. This is noted in the comment where the count query is set up. Making this work is part of the broader "adding aggregation" support to Django scheduled for 1.1. You'll want to follow #3566 for progress on that if you're interested. Closing as wontfix, since the limitation is intentional, and the API you're using is not public API (there's no public group_by API at the moment) and we're developing the public API in #3566. -- Ticket URL: <http://code.djangoproject.com/ticket/9799#comment:1> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---