8 lines
192 B
Python
8 lines
192 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
app_name = "blog"
|
|
urlpatterns = [
|
|
path('', views.index, name="index"),
|
|
path('article/<int:pk>', views.view_article, name="article")
|
|
]
|