ll the auth_login(request,
form.get_user())
The auth.login is what fires the user_logged_in signal anyway and its
handler have access to modify every bit of the request. However the
redirect_to URL was already read by then and the end of the view we
have
return HttpResponseRedirect(redirect_to)
Does
I opened bug: http://code.djangoproject.com/ticket/15043
I actually stumbled on this just a few days ago while trying to put a
session_key to user ID mapping into Redis upon login and was stumped
for awhile why it didn't match the session key of my logged in user.
-Rob
On Sun, Jan 9, 2011 at 10:
Take a look at this:
http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/__init__.py#L73
Is there any reason, why this signal is sent before flushing session? It
makes request.session useless for all receivers.
--
You received this message because you are subscribed to the Goo