title: Django form - browser back button functionality
body: <p>I have a django form with existing id(means, details came from server). </p>
  
  <p>After clicking submit, the submit button becomes 'submitting..' and it will go to new page after submission. </p>
  
  <p>Now, when we click "back" button of browser, it is behaving oddly. Sometimes, the javascript not working properly. Also, submit button became 'submitting..' in firefox.</p>
  
  <p>I want to know the correct way of handling this.</p>
  
  <p>Things in my mind:</p>
  
  <ol>
  <li><p>When edit page is shown because of back button, we catch that event using jquery and set window.location = current url which reloads current page(not refresh) with the previously saved data.</p></li>
  <li><p>Show message that form has expired etc when back button pressed after form submission(I remember some sites using this way).</p></li>
  </ol>
  
  <p>Along with your opinion on what to do, also please tell me how to do that.</p>