title: Django: How to return user to correct pagination page after CreateView form_invalid?
body: <p>I have a paginated comments page. Pagination is provided by django-endless-pagination. When clicking to new paginated pages a get parameter is append to the url. Such as <code>?page=4</code>.</p>
  
  <p>Each comment on each paginated page displays a 'reply to' comment form containing a captcha field. </p>
  
  <p>My view uses CreateView and I implement form_invalid myself in order to add some data to the context variable. At the end of my form_invalid method I return <code>self.render_to_response(context)</code></p>
  
  <p><strong>The Problem</strong></p>
  
  <p>If a user attempts to reply to a comment when on page 4, and that user supplies and invalid captcha, then the pagination get parameter (<code>?page=4</code>) is lost during the response.</p>
  
  <p>How can I redirect to the full path (keeping get params) and pass context data along with it?</p>
  
  <p>Thanks</p>