title: URL redirection if wrong url
body: <p>I have this method in my book model:</p>
  
  <pre><code>    def get_absolute_url(self):
          return "/book/%s/%s/%i/%i/" % ( self.book_title, self.book_editor, self.book_pages, self.id)
  </code></pre>
  
  <p>So the urls of each book are like this:</p>
  
  <pre><code>example.com/book/the-bible/gesu-crist/938/12/
  </code></pre>
  
  <p>I want that if there is an error in the url, then I get redirected to the real url by using book.id in the end of the url.</p>
  
  <p>For example if I go to:</p>
  
  <pre><code>example.com/book/A-bible/gesu-crist/938/12/
  </code></pre>
  
  <p>the I will get redirected to:</p>
  
  <pre><code>example.com/book/the-bible/gesu-crist/938/12/
  </code></pre>
  
  <p>How can I do that ?</p>