Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Exception Value: Object of type User is not JSON serializable

current_user = request.user
current_user = serialize('json', self.get_queryset())
return HttpResponse(current_user, content_type="application/json")
 
PREVIOUS NEXT
Tagged: #Exception #Object #type #User #JSON #serializable
ADD COMMENT
Topic
Name
7+5 =