diff options
author | adityacp | 2017-04-19 12:54:41 +0530 |
---|---|---|
committer | adityacp | 2017-04-19 12:54:41 +0530 |
commit | deaa592f01d5f270abca89c78620af1406fee67c (patch) | |
tree | 54119e736fa3dd56935b83c8a93b4b7b17ee0c75 /yaksh/urls.py | |
parent | f8613224a26f077ffa48ed8420278950293a3a16 (diff) | |
download | online_test-deaa592f01d5f270abca89c78620af1406fee67c.tar.gz online_test-deaa592f01d5f270abca89c78620af1406fee67c.tar.bz2 online_test-deaa592f01d5f270abca89c78620af1406fee67c.zip |
Change urls, models, views
- Add Assignment upload model manager
- Change views to update marks for user if updated manually
- Change variable names in views
- Add url to provide assignment download for student
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r-- | yaksh/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py index 4a96d08..5623eab 100644 --- a/yaksh/urls.py +++ b/yaksh/urls.py @@ -26,6 +26,8 @@ urlpatterns = [ url(r'^enroll_request/(?P<course_id>\d+)/$', views.enroll_request, name='enroll_request'), url(r'^self_enroll/(?P<course_id>\d+)/$', views.self_enroll, name='self_enroll'), url(r'^view_answerpaper/(?P<questionpaper_id>\d+)/$', views.view_answerpaper, name='view_answerpaper'), + url(r'^download/user_assignment/(?P<question_id>\d+)/(?P<user_id>\d+)/(?P<quiz_id>\d+)$', + views.download_assignment_file, name="download_user_assignment"), url(r'^manage/$', views.prof_manage, name='manage'), url(r'^manage/addquestion/$', views.add_question), url(r'^manage/addquestion/(?P<question_id>\d+)/$', views.add_question), |