1👍
It is not a good practice to write:
<h2><a href="/blog/{{post.id}}"> {{ post.title }} </a> </h2>
Take a look at the {% url %}
template tag.
Edit – Disclaimer: the current user has not enough rate to comment. That’s why this apparently answer-less answer is posted here.
Source:stackexchange.com