http://ojjkf327pcmivwuk4zcl4a5lgsbv64p7kosbzmf3xdkzuuqqwxuv7xad.onion/index.php?title=Django_for_Beginners&oldid=1321
Recall from Chapter 2 that we need to make updates in two locations. First we update the project-level urls.py file to point at our "pages" app and then within "pages" we match the views to routes. Let’s start with the project-level urls.py file. # pp/pages_project/pages_project/urls.py
from django.contrib import admin
from django.urls import path, include # new
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('pages.urls')), # new
] The code here should be...