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.appstats.recording.AppstatsDjangoMiddleware Class Reference
Inheritance diagram for google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware:

Public Member Functions

def process_request
 
def process_response
 

Detailed Description

Django Middleware to install the instrumentation.

To start recording your app's RPC statistics, add

  'google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware',

to the MIDDLEWARE_CLASSES entry in your Django settings.py file.
It's best to insert it in front of any other middleware classes,
since some other middleware may make RPC calls and those won't be
recorded if that middleware is invoked before this middleware.

See http://docs.djangoproject.com/en/dev/topics/http/middleware/.

Member Function Documentation

def google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware.process_request (   self,
  request 
)
Called by Django before deciding which view to execute.
def google.appengine.ext.appstats.recording.AppstatsDjangoMiddleware.process_response (   self,
  request,
  response 
)
Called by Django just before returning a response.

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