diff options
Diffstat (limited to 'testapp/exam/forms.py')
-rw-r--r-- | testapp/exam/forms.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testapp/exam/forms.py b/testapp/exam/forms.py index b606224..dc19783 100644 --- a/testapp/exam/forms.py +++ b/testapp/exam/forms.py @@ -31,8 +31,7 @@ class UserRegisterForm(forms.Form): It has the various fields and functions required to register a new user to the system""" - username = forms.CharField\ - (max_length=30, help_text='Letters, digits,\ + username = forms.CharField(max_length=30, help_text='Letters, digits,\ period and underscores only.') email = forms.EmailField() password = forms.CharField(max_length=30, widget=forms.PasswordInput()) |