Preparing for this chapter
Start by creating a new app in your project called chapter_10
by following the steps discussed in Chapter 2, Project Configuration, in the subsection titled Creating a Django app. As discussed in that section, don't forget to change the value of the name =
variable for your app class found in the /becoming_a_django_entdev/becoming_a_django_entdev/chapter_10/apps.py
file to now point to the path where you installed your app. Be sure to also include this app in the INSTALLED_APPS
variable found in the settings.py
file as well.
In the main urls.py
file of the site, add the following path, which points to the URL patterns of this chapter that we will be creating:
# /becoming_a_django_entdev/urls.py
...
urlpatterns = [
path(
'',
include(
...