summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorprathamesh2017-09-05 19:27:15 +0530
committerprathamesh2017-09-05 19:27:15 +0530
commit7aac7a18e4e393b7e267d3687be73a7fdfb7b400 (patch)
treee51b00daae53fb0c8e0ba6fb9601222884ccc3d7 /yaksh/models.py
parent360af260ed71c40b4ed320baaf6e34f2fef2f694 (diff)
downloadonline_test-7aac7a18e4e393b7e267d3687be73a7fdfb7b400.tar.gz
online_test-7aac7a18e4e393b7e267d3687be73a7fdfb7b400.tar.bz2
online_test-7aac7a18e4e393b7e267d3687be73a7fdfb7b400.zip
Removed redundancy from request handler JS
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 7198e69..3697c78 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -1356,7 +1356,7 @@ class AnswerPaper(models.Model):
user_dir = self.user.profile.get_user_dir()
url = 'http://localhost:%s' % SERVER_POOL_PORT
submit(url, uid, json_data, user_dir)
- result = {'uid': uid, 'state': 'running'}
+ result = {'uid': uid, 'status': 'running'}
return result
def regrade(self, question_id):