diff options
author | Primal Pappachan | 2012-03-25 00:30:35 +0530 |
---|---|---|
committer | Primal Pappachan | 2012-03-25 00:30:35 +0530 |
commit | 9dae2766731f90638d4c593dcf09f5085caad8fd (patch) | |
tree | 6753217684c8585334bfb4156979d77c79b42d01 /allotter/models.py | |
parent | ef975b31c4425b55f1c84fc971724ff350c9e634 (diff) | |
download | aloha-9dae2766731f90638d4c593dcf09f5085caad8fd.tar.gz aloha-9dae2766731f90638d4c593dcf09f5085caad8fd.tar.bz2 aloha-9dae2766731f90638d4c593dcf09f5085caad8fd.zip |
added fields email, phone no to profile and submitted to application
Diffstat (limited to 'allotter/models.py')
-rw-r--r-- | allotter/models.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/allotter/models.py b/allotter/models.py index 25d3f44..9da8213 100644 --- a/allotter/models.py +++ b/allotter/models.py @@ -1,10 +1,6 @@ from django.db import models from django.contrib.auth.models import User -#email in profile -#course - place -#phone no(2) - ##EXAMINATION_SUBJECTS = ( ## ("Physics", "Physics"), ## ("Mathematics", "Mathematics"), @@ -79,7 +75,7 @@ class Option(models.Model): verbose_name_plural = "Options" def __unicode__(self): - return self.opt_name + return unicode(self.opt_code) class Application(models.Model): @@ -108,6 +104,8 @@ class Application(models.Model): cgy = models.CharField(max_length=10, verbose_name="Category") pd = models.BooleanField(verbose_name="Physical Disability", default=False, blank=True) + + submitted = models.BooleanField(verbose_name="Submission Status", default=False) def __unicode__(self): u = self.user |