Change to order of Session creation in 1.4?

19 views
Skip to first unread message

Justin Holmes

unread,
Apr 14, 2012, 1:54:19 AM4/14/12
to django-developers
I have a signal hook set on user_login. I use this in order to
get_or_create a SessionInfo object, which I use to keep track of data
about users who may login from more than one computer at the same
time.

in 1.3, the Session object for the login that is taking place had
already been created at the time of the hook execution.

However, In 1.4, Session.objects.all() yields empty during the hook execution.

Am I seeing things? Or did this change?

Reply all
Reply to author
Forward
0 new messages