Django serializers unable to serialize a queryset into JSON
Trying simple Django serializer. I use a queryset
, with specific values. Then I pass the queryset
or the queryset.values()
to the serializer. Why doe it give 500 error?
JSON format from Django serializer
I am using Django serializer for JSON
.
Using the documentation here. https://docs.djangoproject.com/en/5.0/topics/serialization/