How To Validate If A Conversation Object With Particular Partcipants (Many to Many Field) Exis or nott in Django Rest Framework?

后端 未结 0 1423
情深已故
情深已故 2020-12-03 19:05

Models.py

from django.contrib.auth.models import User
    
class Conversation(models.Model):
    participants = models.ManyToManyField(User, related_name=&quo         


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