django 定义文章url

url(r'^firstcontent/'+str(date)+'/(?P<first_body_id>\d+)/$', views.firstcontent, name='firstcontent'),
url(r'^cepingcontent/'+str(date)+'/(?P<ceping_body_id>\d+)/$', views.cepingcontent, name='cepingcontent'),

posted @ 2017-08-17 16:15  金牛小子  阅读(196)  评论(0编辑  收藏  举报