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( '
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(
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 )
3 matches
Mail list logo