org.request
Classes
Extends the default Morepath request with virtual host support and |
Module Contents
- class org.request.PageMeta[source]
Bases:
NamedTuple
- link(request: OrgRequest, variables: dict[str, Any] | None = None, name: str = '') str [source]
- class org.request.OrgRequest(*args, **kwargs)[source]
Bases:
onegov.core.request.CoreRequest
Extends the default Morepath request with virtual host support and other useful methods.
Virtual hosting might be supported by Morepath directly in the future: https://github.com/morepath/morepath/issues/185
- property is_manager: bool[source]
Returns true if the current user is logged in, and has the role editor or admin.