Re: NotImplementedException when trying to log user in after registration

2010-07-23 Thread Jeff
So I did get an email from shwetanka with code that fixed the error (thanks shwetanka): It seems that user is not getting authenticated and when you are calling the function login(request, authenticated_user) Anonymous_user is passed and hence this NotImplementedError is raised. Use UserManager's

Re: NotImplementedException when trying to log user in after registration

2010-07-23 Thread Simon Holness
Your authentication has failed somehow and authenticate() has returned an AnonymousUser object. calling .save() on this raises the exception (code = http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/models.py#L399 ) On 22 July 2010 23:33, Jeff wrote: > Hi, > > I get a Not

NotImplementedException when trying to log user in after registration

2010-07-22 Thread Jeff
Hi, I get a NotImplementedException when I try to log a user in right after they register. Here is the source code: def create_account(request): if request.method == 'POST': form = UserCreationForm(request.POST) if form.is_valid(): user = form.save() a