diff options
author | Prabhu Ramachandran | 2011-11-21 15:46:54 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-21 15:46:54 +0530 |
commit | 4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef (patch) | |
tree | fe5219e4f7a589c67b2fe2a595bef5aa94fcbb7a /exam/models.py | |
parent | 75c5904f27dc82d9445804aa5a9543dae40fcdf2 (diff) | |
download | online_test-4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef.tar.gz online_test-4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef.tar.bz2 online_test-4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef.zip |
ENH: Adding dept/insti/pos fields in profile.
Adding institute/department/position fields, prettifying form with some
help text. Also prettified monitor and user data. Updated commands to
show/dump new fields.
Diffstat (limited to 'exam/models.py')
-rw-r--r-- | exam/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/exam/models.py b/exam/models.py index 8be87e4..09529b9 100644 --- a/exam/models.py +++ b/exam/models.py @@ -7,6 +7,10 @@ class Profile(models.Model): """Profile for a user to store roll number and other details.""" user = models.ForeignKey(User) roll_number = models.CharField(max_length=20) + institute = models.CharField(max_length=128) + department = models.CharField(max_length=64) + position = models.CharField(max_length=64) + ################################################################################ class Question(models.Model): |