You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

9 lines
220 B

from django.urls import path
from article import views
app_name = 'article'
urlpatterns = [
path('', views.ArticleList.as_view(), name='list'),
path('<int:pk>/', views.ArticleDetail.as_view(), name='detail')
]