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:
myblog.com/blog/view/1
This uses the blog-id to identify the specified blog-post.
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.
myblog.com/blog/view/a-python-backup-script
How do I implement this in django?
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?