摘要:
程序目录 urls.py """s14_day21 URL Configuration"""from django.contrib import adminfrom django.conf.urls import url,includefrom app01 import viewsurlpatter 阅读全文
摘要:
默认值:url(r'index/', views.index,{'name':"root"})def index(request,name): print(name) return HttpResponse('ok')命名空间:/a/ include('app01.urls',namespace=' 阅读全文