On 2012-12-29, at 19:59 , Ryan Blunden wrote:

> Django presumes all template variables are "unsafe" by default to prevent XSS 
> attacks which is why it's encoded the quotes.
> 
> Read up on filters and auto-escaping and you'll be able to figure out the 
> rest.

Realizing that the string serialization of a Python collection is not
necessarily valid Javascript may also be a good idea.

-- 
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