text: from django.conf.urls import url,include
  from django.contrib import admin
  from .import views
  
  admin.autodiscover()
  urlpatterns = [
      # 在网页中显示数据库中的内容，先在app文件的urls.py中写好url，然后在views.py中获取数据库中的数据，渲染好返回给浏览器。
      # 在templates.py中写好网页.
      url(r'^$', views.index),
      url(r'^(\d+)/$', views.detail),
      url(r'^grades/$', views.grades),
      url(r'^students/$', views.students),
      url(r'^grades/(\d+)/$', views.gradesStudents),
      url(r'^addstudent/$', views.addstudent),  # 添加学生。用！！
      url(r'^addstudent2/$', views.addstudent2),
      url(r'^stu/(\d+)/$', views.stupage),
      url(r'^get1/$',views.get1),
      url(r'^get2/$',views.get2),
      #url(r'^showregist/$',views.showregist),
      #url(r'^showregist/regist/$',views.regist),
      url(r'^showresponse/$',views.showresponse),
      url(r'^login/$',views.login),
      url(r'^regist/$',views.regist),
  ]
  