summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authoradityacp2020-04-21 12:53:54 +0530
committeradityacp2020-04-21 12:53:54 +0530
commite3f73db877aaf2f6406bef39aee590530bcb503b (patch)
tree122c11b17c64ba8a191a4d50645f6762dad684fc /yaksh/models.py
parenta8c881326894ee9cfd008eb971f3079d62bee6d6 (diff)
parent01c9faa0abeedb748600c35a35bd6cf8124bd64d (diff)
downloadonline_test-e3f73db877aaf2f6406bef39aee590530bcb503b.tar.gz
online_test-e3f73db877aaf2f6406bef39aee590530bcb503b.tar.bz2
online_test-e3f73db877aaf2f6406bef39aee590530bcb503b.zip
Resolve conflicts in urls
Diffstat (limited to 'yaksh/models.py')
-rw-r--r--yaksh/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py
index 52a0414..5d4d453 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -1385,7 +1385,7 @@ class Question(models.Model):
testcases.append(case.get_field_value())
q_dict['testcase'] = testcases
q_dict['files'] = file_names
- q_dict['tags'] = [tags.tag.name for tags in q_dict['tags']]
+ q_dict['tags'] = [tag.name for tag in q_dict['tags']]
questions_dict.append(q_dict)
question._add_yaml_to_zip(zip_file, questions_dict)
return zip_file_name