Django Rest Framework: Count Number of Objects with multiple ManyToManyField values
Django Rest Framework: Count Number of Objects with multiple ManyToManyField values Question: In the example below, I have two models with a ManyToMany relation and I’m trying to count the number of posts related to the tags. There are 3 tags: Sports, Films, Health There are 3 posts: 1 for Sports, 1 for Films and …