SP/web2py/examples/appengine_config.example.py

5 lines
158 B
Python
Raw Normal View History

2018-10-25 15:33:07 +00:00
def webapp_add_wsgi_middleware(app):
from google.appengine.ext.appstats import recording
app = recording.appstats_wsgi_middleware(app)
return app