User Manytomany field add data got error maximum recursion depth exceeded while calling a Python object
I have this conversation model which have manytomany field to user model. Issue is when i try add participants in conversation i got error = RecursionError: maximum recursion depth exceeded
class Conversation(BaseModel):
name = models.CharField(max_length=255, blank=True, null=True)
is_group = models.BooleanField(default=False)
participants = models.ManyToManyField(User, related_name="conversations", null=True)
class Meta:
db_table = "conversation"