title: pretty and seo friendly urls in django
body: <p>I am currently writing a web-blog, learning django. I need a view to display a single blog-post and my first try was to create a url for it like the following:</p>
  
  <pre><code>myblog.com/blog/view/1
  </code></pre>
  
  <p>This uses the blog-id to identify the specified blog-post.</p>
  
  <p>Now if you look at many blogs/website, you see that they use the title of a blog-post in the url, this is because this is more search-engine friendly, so it can be easier found. This might look like this.</p>
  
  <pre><code>myblog.com/blog/view/a-python-backup-script
  </code></pre>
  
  <p>How do I implement this in django?</p>
  
  <p>Bonus Question:
  A lot of sites also include the month and the year of a post. I guess this has also to do with SEO, but how exactly is that useful?</p>