# from django.urls import path
# from article import views
# # from article.views import ArticleList

# app_name = 'article'

# urlpatterns = [
#     # path函数将url映射到视图
#     path('', views.ArticleList.as_view(), name='list'),
#     path('<int:pk>/', views.ArticleDetail.as_view(), name='detail'),
# ]