2👍
✅
You should change your pattern from
url(r'^', views.post_list),
to
url(r'^$', views.post_list),
There’s no need to add a leading slash, because every URL has that. See the example in the Django docs.
Source:stackexchange.com