Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Python 2 is no longer supported by the community. We recommend that you migrate Python 2 apps to Python 3.

google.appengine.ext.appstats.sample_appengine_config module

Summary

Sample Appstats Configuration.

There are four sections:

  1. WSGI middleware declaration.

  2. Django version declaration.

  3. Configuration constants.

  4. Configuration functions.

Also a section at the end for the remote_api handler.

Contents

google.appengine.ext.appstats.sample_appengine_config.appstats_extract_key(request)source
google.appengine.ext.appstats.sample_appengine_config.appstats_normalize_path(path)source
google.appengine.ext.appstats.sample_appengine_config.appstats_should_record(env)source