summaryrefslogtreecommitdiff
path: root/yaksh/models.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-03-16 12:02:00 +0530
committerGitHub2017-03-16 12:02:00 +0530
commit6ff0e4213ab1685200b71ad6bcc1fcdabd6ebf78 (patch)
treebda80a9f39ffe3bb6b8529c69e16762519bb6833 /yaksh/models.py
parente2b461ebbd64fe07f588dd9f83121d1618461b87 (diff)
parent24db3d6821fba560da4c3a4ca03f96ba6daae5a6 (diff)
downloadonline_test-6ff0e4213ab1685200b71ad6bcc1fcdabd6ebf78.tar.gz
online_test-6ff0e4213ab1685200b71ad6bcc1fcdabd6ebf78.tar.bz2
online_test-6ff0e4213ab1685200b71ad6bcc1fcdabd6ebf78.zip
Merge pull request #250 from ankitjavalkar/minorfix223
Multiple fixes in stdio_evaluator and models:
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 398f508..103504e 100644
--- a/yaksh/models.py
+++ b/yaksh/models.py
@@ -66,7 +66,7 @@ test_status = (
def get_assignment_dir(instance, filename):
return os.sep.join((
- instance.user.user, instance.assignmentQuestion.id, filename
+ instance.user.user.username, str(instance.assignmentQuestion.id), filename
))