-
Notifications
You must be signed in to change notification settings - Fork 194
Open
Description
I created a model, but when I save data in it, I get the error RecursionError: maximum recursion depth exceeded, and it's pointing to object_json_repr = serializers.serialize("json", [instance]).
When I excluded this model from Django Easy Audit using DJANGO_EASY_AUDIT_UNREGISTERED_CLASSES_EXTRA, saving data in the Conversation model worked fine.
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')
class Meta:
db_table = 'conversation'
Metadata
Metadata
Assignees
Labels
No labels