URL routing (the URLconf) maps incoming request URLs to the views that handle them. Django matches the requested URL against a list of patterns and calls the corresponding view, extracting any parameters from the URL.
Defining URL patterns
django.urls path
. views
urlpatterns = [
path(, views.home, name=),
path(, views.article_list, name=),
path(, views.article_detail, name=),
path(, views.by_slug, name=),
]
