Re: New password does not authenticate

2009-02-19 Thread jeff
Yup, obvious. Python newbie forgets the () again. Thanks. On Feb 19, 10:43 am, Alex Gaynor wrote: > On Thu, Feb 19, 2009 at 1:36 PM, jeff wrote: > > > OK, I know I'm missing something obvious here in my basic "Reset > > Password for Forgetful User" form: > > > email = form.cleaned_data.get( '

Re: New password does not authenticate

2009-02-19 Thread Alex Gaynor
On Thu, Feb 19, 2009 at 1:36 PM, jeff wrote: > > OK, I know I'm missing something obvious here in my basic "Reset > Password for Forgetful User" form: > > email = form.cleaned_data.get( 'email' ) > username = form.cleaned_data.get( 'username' ) > new_password = User.objects.make_random_password(

New password does not authenticate

2009-02-19 Thread jeff
OK, I know I'm missing something obvious here in my basic "Reset Password for Forgetful User" form: email = form.cleaned_data.get( 'email' ) username = form.cleaned_data.get( 'username' ) new_password = User.objects.make_random_password( length=6 ) u = User.objects.get( username__exact=username )