diff options
author | Prabhu Ramachandran | 2011-11-08 15:29:48 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-08 15:29:48 +0530 |
commit | bed96635b1b0aac8548b6df85e96ee256e5e5bcb (patch) | |
tree | 682d25a0a5a0c7b8c923a1fa2433b2b35c969114 /exam/models.py | |
parent | 0b842b5e1e0eb7aadb5c87a3993cdcac94b34323 (diff) | |
download | online_test-bed96635b1b0aac8548b6df85e96ee256e5e5bcb.tar.gz online_test-bed96635b1b0aac8548b6df85e96ee256e5e5bcb.tar.bz2 online_test-bed96635b1b0aac8548b6df85e96ee256e5e5bcb.zip |
BUG: Fixing various issues
- Modified the question model to use description instead of question.
- Once a user completes the exam it would not allow another one to
start.
- Improved the error messages displayed on errors.
- If there is a mistake, it doesn't wipe out the old attempt so student
can modify what they submitted last.
Diffstat (limited to 'exam/models.py')
-rw-r--r-- | exam/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exam/models.py b/exam/models.py index 247b362..3a8121b 100644 --- a/exam/models.py +++ b/exam/models.py @@ -13,7 +13,7 @@ class Question(models.Model): # An optional one-line summary of the question. summary = models.CharField(max_length=256) # The question text. - question = models.TextField() + description = models.TextField() # Number of points for the question. points = models.IntegerField() |