<filename>blog/urls.py<gh_stars>1-10
from django.contrib import admin
from django.urls import path, include

from blog import views

app_name = "blog"

urlpatterns = [
    path('', views.index, name="index"),
    path('article/<int:pk>/', views.article, name='article')
]
<filename>blog/urls.py<gh_stars>1-10
from django.contrib import admin
from django.urls import path, include

from blog import views

app_name = "blog"

urlpatterns = [
    path('', views.index, name="index"),
    path('article/<int:pk>/', views.article, name='article')
]