Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on App Engine: Multi-tenancy, High Performance Image Serving, Increased Quotas. Parent comment
So:
from google.appengine.api.namespace_manager import set_namespace set_namespace('user1')
EDIT: http://code.google.com/appengine/docs/python/multitenancy/mu... gives more details using a "namespace manager" but I think my example above answers your question so I'll leave it as-is.
There are no comments on this comment yet.
So:
Now everything is done in the 'user1' namespace.EDIT: http://code.google.com/appengine/docs/python/multitenancy/mu... gives more details using a "namespace manager" but I think my example above answers your question so I'll leave it as-is.