title: Redirect after pdf generation
body: <p>I'm generating a pdf after a form submission and I'd like to redirect to a "pdf has been generated" or reload the page with the form. I don't know how to do that, I guess it can be done with javascript/jquery but I didn't found a way to do that.</p>
  
  <p>This is the view that generates the pdf:</p>
  
  <pre><code>def myview(response):
      resp = HttpResponse(content_type='application/pdf')
      result = generate_pdf('my_template.html', file_object=resp)
      return result
  </code></pre>