I'm looking for functionality similar to flask frameworks url_for
for appengine. It takes a classes name redirects to url that's been associated with it in webapp2.WSGIApplication.
So if I have this.
app = webapp2.WSGIApplication([
("/", PostsPage),
("/login", LoginPage),
], debug=True)
So redirect(url_for(LoginPage))
would redirect me to /login.