summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-21 13:40:31 +0530
committerPrimal Pappachan2012-03-21 13:40:31 +0530
commit8aa4180f199cf5f1a5fba7e136c42f0ac4124dbb (patch)
treeb61e71cd0f5c7ea7302027d7137d5a7f74f673b0
parent904ce9b2e7a9d3f4ed6594b5bd14ce53cc296367 (diff)
downloadaloha-8aa4180f199cf5f1a5fba7e136c42f0ac4124dbb.tar.gz
aloha-8aa4180f199cf5f1a5fba7e136c42f0ac4124dbb.tar.bz2
aloha-8aa4180f199cf5f1a5fba7e136c42f0ac4124dbb.zip
Added secondary email and phone number to Profile
-rw-r--r--allotter/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/allotter/models.py b/allotter/models.py
index 77f0849..25d3f44 100644
--- a/allotter/models.py
+++ b/allotter/models.py
@@ -120,6 +120,12 @@ class Profile(models.Model):
#Used for verification purposes
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",
+ help_text=u"Email address read from user after authentication")
+
+ phone_number = models.IntegerField(max_length=10, verbose_name="Phone Number",
+ help_text=u"Phone number read from user after authentication")
#Application for the Profile
application = models.ForeignKey(Application)