![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | generate |
def | base_path |
def | filter_url |
def | in_production |
def | interactive_console_enabled |
![]() | |
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 | |
![]() | |
request | |
response | |
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.
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.