> Having looked around my solution is to output the json string with {{
json_string|escapejs }}.
> Then in the javascript call JSON.parse twice
> JSON.parse(JSON.parse('"' + jsonString + '"'));
That doesn't seem nice at all. Is there any objection to putting the json
filter from django-argonauts into django?
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" 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 http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/CACPudh203NvC8SY8wiDi5knpxyeOe9LB6HRn1s0P%3Dd%2BfQYyHkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.