I’m very much a newbie trying to get a hold of Django. I am just getting started, trying to configure the URLs with an app. However, whenever I try to run the server, it tells me the urls module is not found, even when I use the absolute path. I’ve included some of my code below.
from django.urls import include, path
urlpatterns = [
path('custom_regions/', include("some\absolute\path\placeholder.urls")),
path('admin/', admin.site.urls),
]
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name = 'index'),
]
Considering I’ve been following the tutorial to a T, I’m not quite sure what I’m doing wrong.