How to get count of objects in a ManyToManyField with 'self' / its own model in django?

前端 未结 0 1176
孤街浪徒
孤街浪徒 2021-01-12 18:04

I\'m trying to implement a network where users can follow each other in django like so:

> class User(AbstractUser):
>     followings = models.ManyToMany         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题