摘要: 一、路由系统,URL 1、函数及类 函数:url(r'^index/', views.index), 类:url(r'^home/', views.Home.as_view()), 2、顺序 url(r'^detail-(\d+)-(\d+).html', views.detail), 3、字典 u 阅读全文
posted @ 2016-12-15 11:41 willpower-chen 阅读(464) 评论(0) 推荐(0) 编辑