org.views.exceptionviews
Functions
|
If a view is forbidden, the request is redirected to the login |
|
Module Contents
- org.views.exceptionviews.handle_forbidden(self: webob.exc.HTTPForbidden, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.DefaultLayout | None = None) onegov.core.types.RenderData [source]
If a view is forbidden, the request is redirected to the login view. There, the user may login to the site and be redirected back to the originally forbidden view.