google.appengine.ext.admin_redirect.main module

Summary

Main module for admin redirect.

To use, add this to app.yaml:

builtins: - admin_redirect: on

Contents

google.appengine.ext.admin_redirect.main.CreateApplication()source

Create new WSGIApplication and register all handlers.

Returns

an instance of webapp.WSGIApplication with all mapreduce handlers registered.

class google.appengine.ext.admin_redirect.main.RedirectToAdminConsolesource

Bases: google.appengine.ext.webapp._webapp25.RequestHandler

Used to redirect the user to the appropriate Admin Console URL.

get()source

Handler to redirect all /_ah/admin.* requests to Admin Console.

google.appengine.ext.admin_redirect.main.main()source