Thanks for the reply Jérôme.
Know what it says but said if I just edit the save of the form () i lose
the login form because the save () the model User.objects.create_user
(self.email, self.email, self.password)
Ricardo
Ricardo
2013/12/9 Jérôme Thiard
> The problem is that you have a `passwo
The problem is that you have a `password` field in your `Cliente` model.
So the `ClienteForm` save the readable value of the password in the Cliente
model.
You should not have this field in the model. Instead override the save
method of your `ClientForm` to create the user in the form and not in
Ok
Em quinta-feira, 5 de dezembro de 2013 17h54min44s UTC-2, Ricardo escreveu:
>
> I have a model "Cliente" and in it a field "password".
> In forms.py file, I am using ModelForm, but put in the password field
> Password = forms.CharField (widget = forms.PasswordInput (render_value =
> True))
> I
On 12/5/13 3:55 PM, Ricardo wrote:
Hi Thomas.
Even entering rende_value = False does not. The password keeps popping
up as text.
did not quite understand how that password1 is inserted before the
check password2.
I could not see this problem.
You have found the limits of my knowledge. If it we
Hi Thomas.
Even entering rende_value = False does not. The password keeps popping up
as text.
did not quite understand how that password1 is inserted before the check
password2.
I could not see this problem.
Em quinta-feira, 5 de dezembro de 2013 17h54min44s UTC-2, Ricardo escreveu:
>
> I have a
On 2013-12-05, at 11:54 AM, Ricardo Kamada wrote:
> I have a model "Cliente" and in it a field "password".
> In forms.py file, I am using ModelForm, but put in the password field
> Password = forms.CharField (widget = forms.PasswordInput (render_value =
> True))
> It turns out that the admin pa
I have a model "Cliente" and in it a field "password".
In forms.py file, I am using ModelForm, but put in the password field
Password = forms.CharField (widget = forms.PasswordInput (render_value =
True))
It turns out that the admin password field appears readable, and I do not
want that to happen.
7 matches
Mail list logo