diff options
author | mahesh | 2017-07-31 17:22:54 +0530 |
---|---|---|
committer | mahesh | 2017-07-31 17:22:54 +0530 |
commit | 66e8f39bb390b3ec2547d82512349fabf67e3d7c (patch) | |
tree | eebf8ed4a88672e53b6db60797586c1b63b43cb7 /yaksh/views.py | |
parent | ebc8a2af6d4fdf52a9703701a97a3abfaf66ed06 (diff) | |
download | online_test-66e8f39bb390b3ec2547d82512349fabf67e3d7c.tar.gz online_test-66e8f39bb390b3ec2547d82512349fabf67e3d7c.tar.bz2 online_test-66e8f39bb390b3ec2547d82512349fabf67e3d7c.zip |
Adds yaml serialization to download and upload questions
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index c10ba6a..7e73a28 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -1015,7 +1015,7 @@ def show_all_questions(request): if file_name[-1] == "zip": ques = Question() files, extract_path = extract_files(questions_file) - context['message'] = ques.read_json(extract_path, user, + context['message'] = ques.read_yaml(extract_path, user, files) else: message = "Please Upload a ZIP file" |