hi,
i am using:
"serializers.serialize('json', data)"
to make a json (i also use json.dumps in other cases).
how can i make "serializers.serialize('json', data)" to return json to the
js?
because now i must make:
ans = the ajax returns -> "serializers.serialize('json', data)"
JSON.parse(ans)
while when using json.dumps its straight forward with no parsing the data...
thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/c467c1a3-63d7-4b29-a3b7-a64eabd8b088%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.