title: Using JSON in django template
body: <p>I have a variable that contains JSON I need to pass into a template. I'm defining it as a variable and then passing it into the template successfully. However, I need the format to replace the quotes with &quot;, but is replacing with &#39;. This is causing issues with the service that I"m passing this to.</p>
  
  <pre><code>image_upload_params = 
  {
    "auth": {
      "key": "xxx"
    },
    "template_id": "xxx",
    "redirect_url": "url-here",
  }
  </code></pre>
  
  <p>Here is how it's coming up in the template:</p>
  
  <pre><code>{&amp;#39;redirect_url&amp;#39;: &amp;#39;url-here&amp;#39;, &amp;#39;template_id&amp;#39;: &amp;#39;xxx&amp;#39;, &amp;#39;auth&amp;#39;: {&amp;#39;key&amp;#39;: &amp;#39;xxx&amp;#39;}}
  </code></pre>
  
  <p>Any idea how to get it to use &quot; instead?</p>