I am trying to build a User model with a dedicated LDAP backend. I have no SQL
database.
def login(request):
...
login(request, user)
request.user.is_authenticated() ---> return True
return HttpResponseRedirect("/manage")
def manage(request):
print request.user.is_authenticated() --> returns False
Shouldn't the manage() show the user being authenticated?
What exactly happens when I do a login() call? Does it store some sessions
somewhere? If so, what can I do in my custom User model to make it save this
session?
Thanks,
Anil
--
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.