title: In Django, How do I get escaped html in HttpResponse?
body: <p>The following code in one of my views returns unescaped html string which cannot be parsed in frontend since it is an Ajax request.</p>
  
  <pre><code>return render_to_response(template_name, {
          'form': form,
          redirect_field_name: redirect_to,
          'site': current_site,
          'site_name': current_site.name,
      }, context_instance=RequestContext(request))
  </code></pre>
  
  <p>What is the simplest way to correct this ?
  Thanks in advance..</p>