I am trying to do like this
my class is here
class TweetJson(models.Model):
authors = models.ManyToManyField(Station)
and filter
MyText.objects.filter(Q(authors__count__gte=1))
However it returns.
Related Field got invalid lookup: count
is there any way to count the number of many-to-many objects?