News for hackers. Stuff that matters.
Re:Tempo: a tiny JSON rendering engine by d0m on Monday March 21, 2011 @07:58AM (#2349303)
You can use tags in your django templates do avoid that issue. For instance, I am using icanhaz which use mustache's templates ({{}}) and I inspired myself of a snippet called Verbatim. So, basically, in your template you do:

  <body>
  {% js_template test %}
  Here you can freely use {{}} because the surrounding tags make django ignore them.
  {% endjs_template %}

There are no comments on this comment yet.