Thursday, November 17, 2016

Annotate a List of Values

I am trying to annotate a list of values on a queryset.

Basically, I have a model of Items that are associated many to many to Serial Numbers, and I want for each distinct Item the list of all Serial Numbers for that Item.

No comments:

Post a Comment