feriennet.app
Attributes
Classes
Baseclass for Morepath OneGov applications. |
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents
- class feriennet.app.FeriennetApp[source]
Bases:
onegov.org.OrgApp
Baseclass for Morepath OneGov applications.
- request_class[source]
The class of the Request to create. Must be a subclass of
morepath.Request
.By default the request class is
morepath.Request
- es_may_use_private_search(request: onegov.feriennet.request.FeriennetRequest) bool [source]
Returns True if the given request is allowed to access private search results. By default every logged in user has access to those.
This method may be overwritten if this is not desired.
- mail_sponsor(request: onegov.feriennet.request.FeriennetRequest) list[onegov.feriennet.sponsors.Sponsor] [source]
- get_sponsors(request: onegov.feriennet.request.FeriennetRequest) list[onegov.feriennet.sponsors.Sponsor] | None [source]
- configure_organisation(*, enable_user_registration: bool = True, enable_yubikey: bool = False, disable_password_reset: bool = False, **cfg: Any) None [source]
- invoice_schema_config() tuple[str, dict[str, Any] | None] [source]
Returns the currently active schema_name and it’s config.
- feriennet.app.get_create_new_organisation_factory() Callable[[FeriennetApp, str], Organisation] [source]
- feriennet.app.get_is_complete_userprofile_handler() Callable[[FeriennetRequest, str], bool] [source]