Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml.representer.RepresenterError: Cannot represent an object: QuerySet #16

Open
darioackermann opened this issue Sep 7, 2022 · 1 comment

Comments

@darioackermann
Copy link

darioackermann commented Sep 7, 2022

Upon requesting a GET resource:

RepresenterError at /api/admin/v1/xyz ('cannot represent an object', <QuerySet []>)

Django Version: 3.2.4
Python Version: 3.8.5

JSON Renderer works just fine.
Has anyone else stumbled upon this?

@stefan6419846
Copy link

Are you able to provide a corresponding reproducing example? Do you have a full stacktrace (although it might not help very much)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants