App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.ext.admin.BaseRequestHandler Class Reference
Inheritance diagram for google.appengine.ext.admin.BaseRequestHandler:
google.appengine.ext.webapp._webapp25.RequestHandler google.appengine.ext.admin.BackendsPageHandler google.appengine.ext.admin.CronPageHandler google.appengine.ext.admin.DatastoreAdminHandler google.appengine.ext.admin.DatastoreGetIndexesHandler google.appengine.ext.admin.DatastoreRequestHandler google.appengine.ext.admin.DatastoreStatsHandler google.appengine.ext.admin.DefaultPageHandler google.appengine.ext.admin.InboundMailPageHandler google.appengine.ext.admin.InteractiveExecuteHandler google.appengine.ext.admin.InteractivePageHandler google.appengine.ext.admin.MemcachePageHandler google.appengine.ext.admin.QueuesPageHandler google.appengine.ext.admin.SearchBatchDeleteHandler google.appengine.ext.admin.SearchDocumentHandler google.appengine.ext.admin.SearchIndexesListHandler google.appengine.ext.admin.SearchIndexHandler google.appengine.ext.admin.TasksPageHandler google.appengine.ext.admin.XMPPPageHandler

Public Member Functions

def generate
 
def base_path
 
def filter_url
 
def in_production
 
def interactive_console_enabled
 
- Public Member Functions inherited from google.appengine.ext.webapp._webapp25.RequestHandler
def initialize
 
def get
 
def post
 
def head
 
def options
 
def put
 
def delete
 
def trace
 
def error
 
def redirect
 
def handle_exception
 
def new_factory
 
def get_url
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.ext.webapp._webapp25.RequestHandler
 request
 
 response
 

Detailed Description

Supplies a common template generation function.

When you call generate(), we augment the template variables supplied with
the current user in the 'user' variable and the current webapp request
in the 'request' variable.

Member Function Documentation

def google.appengine.ext.admin.BaseRequestHandler.base_path (   self)
Returns the base path of this admin app, which is chosen by the user.

The user specifies which paths map to this application in their app.cfg.
You can get that base path with this method. Combine with the constant
paths specified by the classes to construct URLs.
def google.appengine.ext.admin.BaseRequestHandler.filter_url (   self,
  args 
)
Filters the current URL to only have the given list of arguments.

For example, if your URL is /search?q=foo&num=100&start=10, then

   self.filter_url(['start', 'num']) => /search?num=100&start=10
   self.filter_url(['q']) => /search?q=10
   self.filter_url(['random']) => /search?
def google.appengine.ext.admin.BaseRequestHandler.in_production (   self)
Detects if app is running in production.

Returns a boolean.

The documentation for this class was generated from the following file: