I’m relatively new to python and trying to make a django app. Can someone explain me why I’m running in to this issue with the include statement? The sql server says no module named ‘website’. I think the problem is with the project structure, but I could not understand how to fix it.
>Solution :
It’s just a typo error and a missing import.
from django.contrib import admin
from django.urls import path, include
# First, import your urls file
# Note that urls end with "s"
from website import url as website_urls
urlpatterns = [
path('admin/', admin.site.urls,
# Then, just include it
path('', include(website_urls))
]
Note: Next time, please post code not screenshots.

