summaryrefslogtreecommitdiff
path: root/testapp/exam/urls.py
diff options
context:
space:
mode:
authorhardythe12015-01-16 16:47:43 +0530
committerhardythe12015-01-16 16:47:43 +0530
commitcbdeb90a756832c71c80bac4dbe9ba1a3aceacb2 (patch)
treece0aeb69dde2351ac1d1372fdd15dbec94ac9ccc /testapp/exam/urls.py
parent534cc561e22da308e31282ab9c598041558aa1b4 (diff)
downloadonline_test-cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2.tar.gz
online_test-cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2.tar.bz2
online_test-cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2.zip
added view, urls for assignment upload & changed the model
Diffstat (limited to 'testapp/exam/urls.py')
-rw-r--r--testapp/exam/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testapp/exam/urls.py b/testapp/exam/urls.py
index 6aa395c..e32b7e1 100644
--- a/testapp/exam/urls.py
+++ b/testapp/exam/urls.py
@@ -11,6 +11,7 @@ urlpatterns = patterns('testapp.exam.views',
url(r'^intro/(?P<questionpaper_id>\d+)/$','intro'),
url(r'^complete/$', 'complete'),
url(r'^complete/(?P<attempt_no>\d+)/(?P<questionpaper_id>\d+)/$', 'complete'),
+ url(r'^submit-assignment(?P<question_id>\d+)/$', 'submit_assignment'),
url(r'^register/$', 'user_register'),
url(r'^(?P<q_id>\d+)/$', 'question'),
url(r'^(?P<q_id>\d+)/check/$', 'check'),