text: from django.urls import path
  from home.views import IndexView,DetailView
  
  urlpatterns = [
      # 首页路由
      path('', IndexView.as_view(), name='index'),
      #详情视图路由
      path('detail/',DetailView.as_view(),name='detail')
  ]
  