Links
- webapp2
- webapp2.py
- Quick Tour
- Exceptions
- Guide to the Gaelaxy
- Router API documentation
- URI routing
- Domain and subdomain routing
- Path prefix routes
- webapp2.Router
- Available as the
router
attribute of the wsgi application.
- Available as the
- Route
- Request handlers
- Request data
- Building a Response
- SessionStore
- webapp2_extras
Snippets
Overriding dispatch
class BaseHandler(webapp2.RequestHandler): def dispatch(self): # Do some pre-dispatch stuff here. try: webapp2.RequestHandler.dispatch(self) finally: # Post-dispatch stuff here or after finally.