From 4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 21 Nov 2011 15:46:54 +0530 Subject: 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. --- exam/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'exam/models.py') 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): -- cgit