change maxlength for username in registration
This commit is contained in:
parent
d286aedccc
commit
6b24c2f11d
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ def register_view(request):
|
|||
else:
|
||||
form = UserCreationForm()
|
||||
|
||||
form.fields['username'].max_length = 20
|
||||
for field in form.fields.values():
|
||||
field.help_text = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue