summaryrefslogtreecommitdiff
path: root/exam/forms.py
diff options
context:
space:
mode:
authorNishanth Amuluru2011-11-10 22:10:26 +0530
committerNishanth Amuluru2011-11-10 22:10:26 +0530
commitf569c1f1cea65f744f42941b5d7e75b49350d442 (patch)
tree23b1cb67582a49d93523aaa7ad3a1bbf81dacb02 /exam/forms.py
parent5b2d3d506e277d57bae9a8b90dd348225347d486 (diff)
downloadonline_test-f569c1f1cea65f744f42941b5d7e75b49350d442.tar.gz
online_test-f569c1f1cea65f744f42941b5d7e75b49350d442.tar.bz2
online_test-f569c1f1cea65f744f42941b5d7e75b49350d442.zip
Users will be directed to the exam automatically after they register
Diffstat (limited to 'exam/forms.py')
-rw-r--r--exam/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exam/forms.py b/exam/forms.py
index 7ee4b0e..38466e8 100644
--- a/exam/forms.py
+++ b/exam/forms.py
@@ -62,7 +62,7 @@ class UserRegisterForm(forms.Form):
new_profile.roll_number = self.cleaned_data["roll_number"]
new_profile.save()
- return new_user
+ return u_name, pwd
class UserLoginForm(forms.Form):
username = forms.CharField(max_length = 30)