summaryrefslogtreecommitdiff
path: root/exam/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'exam/views.py')
-rw-r--r--exam/views.py1
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)