summaryrefslogtreecommitdiff
path: root/testapp/exam/models.py
diff options
context:
space:
mode:
authorhardythe12015-01-16 16:47:43 +0530
committerhardythe12015-01-16 16:47:43 +0530
commitcbdeb90a756832c71c80bac4dbe9ba1a3aceacb2 (patch)
treece0aeb69dde2351ac1d1372fdd15dbec94ac9ccc /testapp/exam/models.py
parent534cc561e22da308e31282ab9c598041558aa1b4 (diff)
downloadonline_test-cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2.tar.gz
online_test-cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2.tar.bz2
online_test-cbdeb90a756832c71c80bac4dbe9ba1a3aceacb2.zip
added view, urls for assignment upload & changed the model
Diffstat (limited to 'testapp/exam/models.py')
-rw-r--r--testapp/exam/models.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/testapp/exam/models.py b/testapp/exam/models.py
index 2386cd2..1cafa89 100644
--- a/testapp/exam/models.py
+++ b/testapp/exam/models.py
@@ -389,6 +389,5 @@ class AnswerPaper(models.Model):
################################################################################
class AssignmentUpload(models.Model):
user = models.ForeignKey(Profile)
- assignment = models.ForeignKey(Quiz)
assignmentQuestion = models.ForeignKey(Question)
assignmentFile = models.FileField(upload_to=get_assignment_dir)