django-generic-aggregation icon indicating copy to clipboard operation
django-generic-aggregation copied to clipboard

annotate() and aggregate() for generically-related data.

Results 2 django-generic-aggregation issues
Sort by recently updated
recently updated
newest added

I.e. used "page_ptr" (no such column in table) instead of "page_ptr_id" To fix, here: https://github.com/coleifer/django-generic-aggregation/blob/master/generic_aggregation/utils.py#L183 line `qn(qs.model._meta.pk.name)` must be replaced with `qn(qs.model._meta.pk.column)`

Hello. In django 1.6 and django 1.7 with django-generic-aggregation 0.3.2 I used to do something like: ``` item_qs = Item.objects.all() qs = generic_annotate(item_qs, Recommendation.objects.all(), Avg("recommendations__recommend")) qs = qs.filter(score__gt=0) ``` In...