django-rest-framework-yaml
django-rest-framework-yaml copied to clipboard
yaml.representer.RepresenterError: Cannot represent an object: QuerySet
trafficstars
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?
Are you able to provide a corresponding reproducing example? Do you have a full stacktrace (although it might not help very much)?