gaesessions with Django auth

25 views
Skip to first unread message

jbake...@gmail.com

unread,
Jun 3, 2012, 2:01:07 PM6/3/12
to gae-se...@googlegroups.com
Has anyone tried to use gaesessions with Django auth? I keep running into assumptions/requirements of auth on session that result in calls to unimplemented methods (of course). Is this just not going to work well without implementing a bunch of the Django base session object?

Thoughts appreciated.

Hopefully this doesn't come as a sort of repost, I tried posting a similar question a little while ago but it didn't go through.

-- Jay

jbake...@gmail.com

unread,
Jun 5, 2012, 7:55:21 PM6/5/12
to gae-se...@googlegroups.com
Sort of answering my own question ... what I wound up doing was decorating the gaesessions Session object with an additional piece of Django middleware. It needed:

set_test_cookie
test_test_cookie
delete_test_cookie
cycle_key
flush

David Underhill

unread,
Jun 9, 2012, 10:16:23 PM6/9/12
to gae-se...@googlegroups.com
Cool, thanks for sharing Jay ... glad you got it to work with your Django setup!

~ David
Reply all
Reply to author
Forward
0 new messages