urls:
url(r'detail-(\d+).html', views.Detail),
views:
def Detail(requset,nid): detail_info = USER_DICT[nid] return render(requset,'detail.html',{'detail_info':detail_info})
urls:
url(r'detail-(\d+).html', views.Detail),
views:
def Detail(requset,nid): detail_info = USER_DICT[nid] return render(requset,'detail.html',{'detail_info':detail_info})