[Django]-Very confused… problem using 'annotate' in Django

66👍

Did you import Count from django.db.models?

from django.db.models import Count

-1👍

from django.db.models import Count

Leave a comment