diff options
| author | Bobby <[email protected]> | 2022-12-28 09:16:49 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-12-28 09:16:49 -0500 |
| commit | ff1278225a3931432c5d2559ef25116134ea1cf8 (patch) | |
| tree | c4f85f3ea7d97cb51993ccb3f008372d3ef10c35 /users | |
| parent | 0173cde15dc587acb7c6014f19ff06381d0b72ca (diff) | |
| download | thatcomputerscientist-ff1278225a3931432c5d2559ef25116134ea1cf8.tar.xz thatcomputerscientist-ff1278225a3931432c5d2559ef25116134ea1cf8.zip | |
Register form fixed many times till now. This is another attempt
Diffstat (limited to 'users')
| -rw-r--r-- | users/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/forms.py b/users/forms.py index de13fe27..aebad567 100644 --- a/users/forms.py +++ b/users/forms.py @@ -12,7 +12,7 @@ from django.utils.http import urlsafe_base64_encode from .tokens import account_activation_token class RegisterForm(forms.Form): - username = forms.CharField(label='Username', max_length=30) + username = forms.CharField(label='Username', max_length=30, min_length=4) email = forms.EmailField(label='Email') password1 = forms.CharField(label='Password', widget=forms.PasswordInput) password2 = forms.CharField(label='Password (again)', widget=forms.PasswordInput) |
