@@ -42,7 +42,7 @@ class LoginForm(BootstrapFormMixin, forms.Form):
4242 bootstrap_field_info = {'' : {'fields' : [{'name' : 'email' , 'space' : 12 }, {'name' : 'password' , 'space' : 12 }]}}
4343
4444 email = forms .EmailField (label = _ ('Email' ), max_length = 100 )
45- password = forms .CharField (widget = forms .PasswordInput , label = _ ('Password' ), max_length = 100 )
45+ password = forms .CharField (widget = forms .PasswordInput , label = _ ('Password' ), max_length = 128 )
4646
4747 def clean_email (self ):
4848 email = self .cleaned_data .get ('email' )
@@ -61,8 +61,8 @@ class UserCreationForm(BootstrapFormMixin, forms.ModelForm):
6161 {'name' : 'email' , 'space' : 12 }, {'name' : 'password1' , 'space' : 12 },
6262 {'name' : 'password2' , 'space' : 12 }]}}
6363
64- password1 = forms .CharField (label = _ ('Password' ), widget = forms .PasswordInput )
65- password2 = forms .CharField (label = _ ('Password confirmation' ), widget = forms .PasswordInput ,
64+ password1 = forms .CharField (label = _ ('Password' ), widget = forms .PasswordInput , max_length = 128 )
65+ password2 = forms .CharField (label = _ ('Password confirmation' ), widget = forms .PasswordInput , max_length = 128 ,
6666 help_text = password_validation .password_validators_help_text_html ())
6767
6868 class Meta :
@@ -196,8 +196,6 @@ class Meta:
196196 'gender' : _ ('This is for demographic purposes. You can skip this question if you want.' ),
197197 'other_diet' : _ ('Please fill here in your dietary requirements. '
198198 'We want to make sure we have food for you!' ),
199- 'origin' : "Please select one of the dropdown options or write 'Others'. If the dropdown doesn't show up,"
200- " type following this schema: <strong>city, nation, country</strong>"
201199 }
202200 labels = {
203201 'gender' : _ ('What gender do you identify as?' ),
0 commit comments