diff options
author | Prabhu Ramachandran | 2011-11-10 16:34:17 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-10 16:34:17 +0530 |
commit | 30f005126c97121548cc1d453997933482bd33a8 (patch) | |
tree | 3e7b0c029b9fa0b0724fce0abc3d2503a883d2b7 /exam/views.py | |
parent | d5cd760142772eb91d3c9ce01b3ae8ea86d160da (diff) | |
download | online_test-30f005126c97121548cc1d453997933482bd33a8.tar.gz online_test-30f005126c97121548cc1d453997933482bd33a8.tar.bz2 online_test-30f005126c97121548cc1d453997933482bd33a8.zip |
ENH: Adding email address to registration form.
Diffstat (limited to 'exam/views.py')
-rw-r--r-- | exam/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exam/views.py b/exam/views.py index a4c611d..05fe792 100644 --- a/exam/views.py +++ b/exam/views.py @@ -39,6 +39,7 @@ def index(request): new_user.first_name = data['first_name'] new_user.last_name = data['last_name'] + new_user.email = data['email_address'] new_user.save() new_profile = Profile(user=new_user) |