diff --git a/onlineExam/urls.py b/onlineExam/urls.py new file mode 100644 index 0000000..4ea8978 --- /dev/null +++ b/onlineExam/urls.py @@ -0,0 +1,16 @@ +from django.contrib import admin +from django.urls import path +from django.conf.urls import url +from student import views + +urlpatterns = [ + path('admin/', admin.site.urls), + url(r'^studentLogin/',views.studentLogin), + url(r'^teacherLogin/',views.teacherLogin), + url(r'^$',views.index), + url(r'^toIndex/$',views.toIndex), + url('queryStudent',views.queryStudent), + url(r'^startExam/$',views.startExam), + url(r'^calGrade/$',views.calGrade), + url(r'^logout/$',views.logOut), +] \ No newline at end of file