class BaseHandler(MethodHandler, ValidationMixin):
+ """ Provides methods that integarte such features like: routing,
+ i18n, model binding, template rendering, authentication,
+ xsrf/resubmission protection.
+ You need inherit this class and define get() and/or post() to
+ be able respond to HTTP requests.
+ """ Redirects to given route name.
def __init__(self, request, route_name, **route_args):
self.route_name = route_name