summaryrefslogtreecommitdiff
path: root/exam/forms.py
diff options
context:
space:
mode:
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)