diff options
author | parth | 2012-03-28 17:18:33 +0530 |
---|---|---|
committer | parth | 2012-03-28 17:18:33 +0530 |
commit | 1a8c33ebe6760c616132234241403abfd712a73c (patch) | |
tree | 53ff6365564701aee9b12a9aa18377455899a03f | |
parent | 66ce0adfe90277fb9b6f9961487bad3eaa6c87d5 (diff) | |
download | aloha-1a8c33ebe6760c616132234241403abfd712a73c.tar.gz aloha-1a8c33ebe6760c616132234241403abfd712a73c.tar.bz2 aloha-1a8c33ebe6760c616132234241403abfd712a73c.zip |
removed pd, made email and phone number optional in models
-rw-r--r-- | allotter/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/allotter/models.py b/allotter/models.py index 9da8213..7e05b36 100644 --- a/allotter/models.py +++ b/allotter/models.py @@ -103,7 +103,6 @@ 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) @@ -119,10 +118,10 @@ class Profile(models.Model): dob = models.DateField(verbose_name=u"Date of Birth", help_text=u"Date of birth as given in the application") - secondary_email = models.EmailField(verbose_name=u"Secondary Email", + secondary_email = models.EmailField(verbose_name=u"Secondary Email", blank=True, null=True, help_text=u"Email address read from user after authentication") - phone_number = models.IntegerField(max_length=10, verbose_name="Phone Number", + phone_number = models.IntegerField(max_length=10, verbose_name="Phone Number", blank=True, null=True, help_text=u"Phone number read from user after authentication") #Application for the Profile |