Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Beaker on Google App Engine (Django)

How do we use Beaker to implement sessions on Google App Engine? (I say Beaker because gmemsess is short-lived, and therefore not suitable). There seem to be no examples online.

We're using Django 1.1 via App Engine Helper (not app-engine-patch).

like image 730
Paul Biggar Avatar asked Jan 09 '10 19:01

Paul Biggar


1 Answers

You need to specify the session type as 'ext:google', like this. You also need to edit beaker/cache.py, deleting the section that uses pkg_resources to search for plugins, as this isn't supported on App Engine.

like image 97
Nick Johnson Avatar answered Oct 06 '22 11:10

Nick Johnson