On 03/01/2012 07:48 AM, Stanwin Siow wrote:
Hello,

I want to view the actual json data from django view, is there anyway i can do 
that before i parse it into jQuery?



Assuming that you have a dictionary named "return_data," this will do it:

return HttpResponse(simplejson.dumps(return_data), mimetype = "application/json")

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to