from django.urls import path from . import views app_name = "blog" urlpatterns = [ path('', views.index, name="index"), path('article/', views.view_article, name="article") ]