Doc for RedirectRoute redirect_to argument gives the example:
... These two are equivalent:
route = Route('/foo', handler=webapp2.RedirectHandler,
defaults={'_uri': '/bar'})
route = Route('/foo', redirect_to='/bar')
the second is in error, should be:
route = RedirectRoute('/foo', redirect_to='/bar')
Original issue reported on code.google.com by b...@bdlow.net on 1 Sep 2014 at 11:34
Original issue reported on code.google.com by
b...@bdlow.net
on 1 Sep 2014 at 11:34