一.路由系统 1.静态路由 from app01 import views urlpatterns = [ #url(r'^admin/', admin.site.urls), url(r'^home/', views.home), ] 2.动态路由 from app01 import views urlpatterns = [ url(r'^index/(\d+)', views.index), url(r'^page/(\d+)/(\d+)', views.page), ] (1)按照顺序…