Quantcast
Channel: Django rest framework sending a string with single quotes back instead of JSON with double quotes - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Fabricator for Django rest framework sending a string with single...

It appears that leasee = models.CharField(max_length=2000) is a charfield. So Django is simply returning the string stored in this field. Also it is not storing valid JSON string neither because JSON...

View Article



Django rest framework sending a string with single quotes back instead of...

I am sending JSON via POST to a view. The response I get back is only part JSON and the rest has changed from double quotes to single quotes.My question is how to I make sure that I am sending all this...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images