title: In Django, how can I generate csrf token when not using templates
body: <p>I'm writing pages in my own code, not using Django templates.  Because I'm overloaded on new things to learn and trying to get this done.</p>
  
  <p>Now I had some easy cases with templates, and {% csrf_token %} worked just fine.  But they used render() and a template.</p>
  
  <p>I have a bunch of custom HTML I can't immediately figure out how to put in a template, so I can't use render().  Instead, I return HttpResponse() applied to my page, and that does not deal with {% csrf_token %}.</p>
  
  <p>How do I get that <code>&lt;input&gt;</code> element into the form part of my page?  I'm willing to generate the form from a template, but not the rest of the page.</p>