My django program will not log in on one of my development machines,
yet it works fine in my
deployment environment. I managed to isolate the bug to the following
code:
Any help is greatly appreciated.
Jonathan
(Python Shell)
>>> from django.contrib.auth import authenticate
>>> from django.contrib.auth import login
>>> from django.contrib.auth import logout
>>> from django.contrib.auth.models import User
>>>
>>> user =
>>> User.objects.create_user('johnlennon','[email protected]','johnpassword')
>>> user.save()
>>> newuser= authenticate(username='johnlennon', password='johnpassword')
>>> newuser
>>> print newuser
None
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---