Django Tutorial Help

I’m currently on the Django Course in the ORM section and I’m having trouble getting the URL for the website. I have the file most provided at the beginning of the course but I get this error instead of what mosh has on his screen. The error: Page not found (404)

Request Method: GET
Request URL:

Using the URLconf defined in storefront.urls, Django tried these URL patterns, in this order:

  1. admin/

The current path, playground/hello, didn’t match any of these.

Hi, it seems to be an issue with your url configurations: make sure the root file in the storefront folder looks like below:

from django.contrib import admin
from django.urls import path, include

urlpatterns = [
path(‘playground/’, include(‘playground.urls’))

Also make sure the file in your playground folder is mapped to the right view function like below:

from django.urls import path
from . import views

urlpatterns = [
path(‘hello/’, views.say_hello)

Can you try and see if it works?