Generic relations and aggregation

71 views
Skip to first unread message

x13

unread,
Jan 14, 2015, 5:56:26 PM1/14/15
to django-d...@googlegroups.com

According to Django 1.7 Docs, aggregation API is not working with generic relations

Bookmark.objects.aggregate(Count('tags'))   # Not working according to Docs.


But this bug seems to be fixed in #10870

Are aggregations working in 1.7?
Thanks in advance.


Tim Graham

unread,
Jan 14, 2015, 8:03:50 PM1/14/15
to django-d...@googlegroups.com
Yes, there is an open ticket to update the documentation: https://code.djangoproject.com/ticket/24019

If you're able to work on a patch, I'll be happy to review it.
Reply all
Reply to author
Forward
0 new messages