Paul Biggar
Paul Biggar

Reputation: 28739

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

Upvotes: 6

Views: 908

Answers (1)

Nick Johnson
Nick Johnson

Reputation: 101149

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.

Upvotes: 5

Related Questions