From f5568068a34e23208fb5b2a33dd806f10aab9806 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 19 Aug 2015 16:51:39 +0530 Subject: Change app name to yaksh --- testapp/yaksh_app/urls.py | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 testapp/yaksh_app/urls.py (limited to 'testapp/yaksh_app/urls.py') diff --git a/testapp/yaksh_app/urls.py b/testapp/yaksh_app/urls.py new file mode 100644 index 0000000..d096a61 --- /dev/null +++ b/testapp/yaksh_app/urls.py @@ -0,0 +1,52 @@ +from django.conf.urls import patterns, url + +urlpatterns = patterns('testapp.yaksh_app.views', + url(r'^$', 'index'), + url(r'^login/$', 'user_login'), + url(r'^quizzes/$', 'quizlist_user'), + url(r'^results/$', 'results_user'), + url(r'^start/$', 'start'), + url(r'^start/(?P\d+)/(?P\d+)/$', 'start'), + url(r'^quit/(?P\d+)/(?P\d+)/$', 'quit'), + url(r'^intro/(?P\d+)/$', 'intro'), + url(r'^complete/$', 'complete'), + url(r'^complete/(?P\d+)/(?P\d+)/$',\ + 'complete'), + url(r'^register/$', 'user_register'), + url(r'^(?P\d+)/$', 'question'), + url(r'^(?P\d+)/check/$', 'check'), + url(r'^(?P\d+)/check/(?P\d+)/(?P\d+)/$',\ + 'check'), + url(r'^intro/$', 'start'), + url(r'^(?P\d+)/(?P\d+)/(?P\d+)/$', 'show_question'), + + url(r'^manage/$', 'prof_manage'), + url(r'^manage/addquestion/$', 'add_question'), + url(r'^manage/addquestion/(?P\d+)/$', 'add_question'), + url(r'^manage/addquiz/$', 'add_quiz'), + url(r'^manage/editquiz/$', 'edit_quiz'), + url(r'^manage/editquestion/$', 'edit_question'), + url(r'^manage/addquiz/(?P\d+)/$', 'add_quiz'), + url(r'^manage/gradeuser/$', 'show_all_users'), + url(r'^manage/gradeuser/(?P.*)/$', 'grade_user'), + url(r'^manage/questions/$', 'show_all_questions'), + url(r'^manage/showquiz/$', 'show_all_quiz'), + url(r'^manage/monitor/$', 'monitor'), + url(r'^manage/showquestionpapers/$', 'show_all_questionpapers'), + url(r'^manage/showquestionpapers/(?P\d+)/$',\ + 'show_all_questionpapers'), + url(r'^manage/monitor/(?P\d+)/$', 'monitor'), + url(r'^manage/user_data/(?P.*)/$', 'user_data'), + url(r'^manage/designquestionpaper/$', 'design_questionpaper'), + url(r'^manage/designquestionpaper/(?P\d+)/$',\ + 'design_questionpaper'), + url(r'^manage/designquestionpaper/automatic/(?P\d+)/$',\ + 'automatic_questionpaper'), + url(r'^manage/designquestionpaper/automatic$', 'automatic_questionpaper'), + url(r'^manage/designquestionpaper/manual$', 'manual_questionpaper'), + url(r'^manage/designquestionpaper/manual/(?P\d+)/$',\ + 'manual_questionpaper'), + url(r'^ajax/questionpaper/(?P.+)/$', 'ajax_questionpaper'), + url(r'^ajax/questions/filter/$', 'ajax_questions_filter'), ##@@ + +) -- cgit