diff options
author | Prabhu Ramachandran | 2011-11-10 08:59:09 -0800 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-10 08:59:09 -0800 |
commit | c69bc272c1c3ba02c3f244586b65254036e73de3 (patch) | |
tree | 23b1cb67582a49d93523aaa7ad3a1bbf81dacb02 /exam/models.py | |
parent | 30f005126c97121548cc1d453997933482bd33a8 (diff) | |
parent | f569c1f1cea65f744f42941b5d7e75b49350d442 (diff) | |
download | online_test-c69bc272c1c3ba02c3f244586b65254036e73de3.tar.gz online_test-c69bc272c1c3ba02c3f244586b65254036e73de3.tar.bz2 online_test-c69bc272c1c3ba02c3f244586b65254036e73de3.zip |
Merge pull request #1 from nishi2rock/master
Implemented the user register and login feature
Diffstat (limited to 'exam/models.py')
-rw-r--r-- | exam/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exam/models.py b/exam/models.py index 226146a..61de093 100644 --- a/exam/models.py +++ b/exam/models.py @@ -51,6 +51,9 @@ class Quiz(models.Model): user_ip = models.CharField(max_length=15) # Unused currently. key = models.CharField(max_length=10) + + # used to allow/stop a user from retaking the quiz + is_active = models.BooleanField(default = True) # The questions (a list of ids separated by '|') questions = models.CharField(max_length=128) |