Django URL patterns are very clean and simple and make for nice websites where the URLs are short and memorable. To make this possible, there is matching of the requested URL with a view (or application-level URL that matches with a view). The URLs and their destination are matched inside a list called urlpatterns.
Within the project folder (C:\Projects\chapter12\chapter12), there is a script called urls.py just underneath settings.py. This script controls project-level URL routing. For this application, we'll also add application-level URLs inside the arenas folder and will point the project-level URL routing to the application URLs.
Open up the project-level urls.py, and copy the following code over any existing code:
from ...