diff options
author | hardythe1 | 2012-02-21 12:38:38 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-21 12:38:38 +0530 |
commit | 2b6b595ca8652696ab9059add8ea54661cab5f31 (patch) | |
tree | 39906c360056c2cafc65e088e7cc6115954b01df /testapp/exam/urls.py | |
parent | 6b608e174fbd9367c9453f7933b69a35516811d2 (diff) | |
download | online_test-2b6b595ca8652696ab9059add8ea54661cab5f31.tar.gz online_test-2b6b595ca8652696ab9059add8ea54661cab5f31.tar.bz2 online_test-2b6b595ca8652696ab9059add8ea54661cab5f31.zip |
views for editing quiz and questions
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r-- | testapp/exam/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py index 772a2f3..2187e58 100644 --- a/testapp/exam/urls.py +++ b/testapp/exam/urls.py @@ -5,7 +5,9 @@ urlpatterns = patterns('exam.views', url(r'^login/$', 'user_login'), url(r'^manage/$', 'prof_manage'), url(r'^manage/addquestion/$', 'add_question'), + url(r'^manage/addquestion/(?P<question_id>\d+)/$', 'add_question'), url(r'^manage/addquiz/$', 'add_quiz'), + url(r'^manage/addquiz/(?P<quiz_id>\d+)/$', 'add_quiz'), url(r'^manage/gradeuser/$', 'show_all_users'), url(r'^manage/questions/$', 'show_all_questions'), url(r'^manage/showquiz/$','show_all_quiz'), |