Hi, and thanks for replying.
In polls/urls.py I have this:
from django.urls import path
from . import views
urlpatterns = [
path(‘’, views.index, name=‘index’),
]
and this is in the mysite/urls.py:
from django.contrib import admin
from django.urls import include, pathurlpatterns = [
path(‘polls/’, include(‘polls.urls’)),
path(‘admin/’, admin.site.urls),
]
The tutorial does not ask me to put anything in INSTALLED_APPS yet, however from reading various instances of the same problem, I have tried adding both of the following:
‘polls’
‘polls.Apps.PollsConfig’
None of these combinations work.