summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimal Pappachan2012-04-11 12:58:40 +0530
committerPrimal Pappachan2012-04-11 12:58:40 +0530
commite45c413946c053832a40eb2fa869e19797705447 (patch)
tree9909c50a109178820f9be02ca8f7f5f880d65386
parent7a1a193cf3ab9dd90d9ed0175b65e8995df7d092 (diff)
downloadaloha-e45c413946c053832a40eb2fa869e19797705447.tar.gz
aloha-e45c413946c053832a40eb2fa869e19797705447.tar.bz2
aloha-e45c413946c053832a40eb2fa869e19797705447.zip
Pd status - Y or N
-rw-r--r--aloha/allotter/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/aloha/allotter/forms.py b/aloha/allotter/forms.py
index 480d8b9..444330c 100644
--- a/aloha/allotter/forms.py
+++ b/aloha/allotter/forms.py
@@ -161,6 +161,7 @@ class UserDetailsForm(forms.Form):
email = self.cleaned_data['email']
phone_number = self.cleaned_data['phone_number']
category = self.cleaned_data['category']
+ pd_status = self.cleaned_data['pd']
if email and phone_number:
user_profile.secondary_email = email
@@ -170,6 +171,7 @@ class UserDetailsForm(forms.Form):
user_application = user_profile.application
user_application.cgy = category
+ user_application.pd_status = pd_status
user_application.save()
user_profile.save()