I have the following template:
var url = {{url}};
$.getJSON(url...
and the following view:
return render_to_response('template.html', {"url":"/this/url/"})
but for some reason javascript does not treat this as a string. Is there a reason why? What is the syntax that I should be using?