How to iterate ManyToMany filed in serializer class

前端 未结 0 497
一整个雨季
一整个雨季 2021-02-03 14:44

I have this Event model:

# models.py

class Event(models.Model):
    name = models.CharField(max_length=200))
    user = models.ManyToManyField(User))


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