, , webapp2 , , , webapp2 Uri
app = webapp2.WSGIApplication(
routes=[webapp2.Route('/', handler='RootController', name='root')])
RequestHandler
self.redirect_to('root')
If your path contains placeholders, you can specify values for placeholders, and webapp2.Router will build the correct uri for you. Browse webapp2 Uri routing again for more details.
source
share