summaryrefslogtreecommitdiff
path: root/yaksh/urls.py
diff options
context:
space:
mode:
authorprathamesh2020-11-13 15:34:22 +0530
committerprathamesh2020-11-13 15:34:22 +0530
commitb0ab5d93393d191ffbc6e0c4b0cc3ebc2624fc27 (patch)
treecd2d5ee1b055dbeb3ad6b7b1b021d460db3dc20e /yaksh/urls.py
parent1ad9f3176c2df25df1f8fae601eef657e39f8b46 (diff)
downloadonline_test-b0ab5d93393d191ffbc6e0c4b0cc3ebc2624fc27.tar.gz
online_test-b0ab5d93393d191ffbc6e0c4b0cc3ebc2624fc27.tar.bz2
online_test-b0ab5d93393d191ffbc6e0c4b0cc3ebc2624fc27.zip
Use QRcode to upload a file from any device
Diffstat (limited to 'yaksh/urls.py')
-rw-r--r--yaksh/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yaksh/urls.py b/yaksh/urls.py
index e93d80a..f75df3d 100644
--- a/yaksh/urls.py
+++ b/yaksh/urls.py
@@ -156,6 +156,10 @@ urlpatterns = [
name="questions_filter"),
url(r'^editprofile/$', views.edit_profile, name='edit_profile'),
url(r'^viewprofile/$', views.view_profile, name='view_profile'),
+ url(r'^generate_qrcode/(?P<answerpaper_id>\d+)/(?P<question_id>\d+)/(?P<module_id>\d+)/$',
+ views.generate_qrcode, name='generate_qrcode'),
+ url(r'^upload_file/(?P<key>.+)/$',
+ views.upload_file, name='upload_file'),
url(r'^manage/searchteacher/(?P<course_id>\d+)/$', views.search_teacher,
name="search_teacher"),