[Answer]-Urlpatterns – got 404 error

1👍

Of course it doesn’t work. r'^$' matches the empty string. You are accesing with the relative path /home

Either make it also the regex url to be r'^home/$' or simply access localhost:8000/ without the trailing /home

Leave a comment