hi -- after I do a login that successfully goes through a custom
authenticate() and django login(), I get redirected to a web page that
is build off of a template that prints out the value of
{{ user.is_authenticated }}. This always returns False, and after
more interrogation I discovered that user is AnonymousUser. I have
read the Django docs several times over (TEMPLATE_CONTEXT_PROCESSORS
has django.core.context_processors.auth, and I'm sending the
successful login web page as render_to_response(template, directory,
context_instance(RequestContext(request)). This has been perplexing
because as far as I can tell, I've successfully logged in a user and
created a session that has an user_id corresponding to the user, but
an AnonymousUser is being used to generate the template... any of
this sound familiar?
This is Django 1.1.1, running off python 2.6.4, on a linux box.
thanks,
paul
--
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.