Groups
Groups
Sign in
Groups
Groups
Django developers (Contributions to Django itself)
Conversations
About
Send feedback
Help
Generic relations and aggregation
71 views
Skip to first unread message
x13
unread,
Jan 14, 2015, 5:56:26 PM
1/14/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-d...@googlegroups.com
According to Django 1.7 Docs, aggregation API is not working with generic relations
https://docs.djangoproject.com/en/1.7/ref/contrib/contenttypes/#generic-relations-and-aggregation
Bookmark.objects.aggregate(Count('tags')) # Not working according to Docs.
But this bug seems to be fixed in #10870
https://code.djangoproject.com/ticket/10870
Are aggregations working in 1.7?
Thanks in advance.
Tim Graham
unread,
Jan 14, 2015, 8:03:50 PM
1/14/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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