On Jul 18, 9:08 am, Jonathan Buchanan <[EMAIL PROTECTED]>
wrote:
> LaundroMat wrote:
> > Hi,
>
> > When running this, I get a "NoneType has no attribute
> > is_authenticated()" error, and I cannot understand why:
>
> > 1 new_user = User.objects.create_user(username, "your.email",
> > password)
>
LaundroMat wrote:
> Hi,
>
> When running this, I get a "NoneType has no attribute
> is_authenticated()" error, and I cannot understand why:
>
> 1 new_user = User.objects.create_user(username, "your.email",
> password)
> 2 new_user.is_active = False
> 3 new_user.save()
> 4 user = authenticate(use
2 matches
Mail list logo