Object of type method is not JSON serializable
Hello everyone,
so my setup is Python 3.11 and Django 4.1.5
I tried Django Restframework on 3.14.0 and 3.15.1 and django-comments-xtd on 2.9.13 and 2.10.0 (in all 4 permutations) but I always get this when the JavaScript tries to reach /comments/api/app-model/id/ to view the comments (or if I try to do it manually in the browser):
TypeError at /comments/api/app-model/id/
Object of type method is not JSON serializable
Any idea what might be the issue?
Hi @Braintelligence, would it be possible to create a repository with the code? I could look into it and give you feedback.
Hello @danirus, thanks for answering. It's a closed source project but I can give you specific access to the gitlab repo it's residing on if that would help you, I'd just need a mail address I could send the invitation to. Don't mind the horrible code tho 😄 Or we could do a remote session if you want where I show and explain. Thanks!
Sorry for the late reply, you can add me using this email address: [email protected].
Thanks, I added you and gave you some permissions; I hope they suffice.
Hi @Braintelligence, did you manage to resolve the problem?