Skip to content

Object of type method is not JSON serializable #427

@Braintelligence

Description

@Braintelligence

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions