views:

301

answers:

1

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).

+3  A: 

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.

Nick Johnson