org.views.homepage

The onegov organisation homepage.

Functions

redirect_to(→ webob.Response | None)

view_org(→ onegov.core.types.RenderData | webob.Response)

Renders the org's homepage.

view_pages_sort(→ onegov.core.types.RenderData)

Module Contents

org.views.homepage.redirect_to(request: onegov.org.request.OrgRequest, target: str | None, path: str | None) webob.Response | None[source]
org.views.homepage.view_org(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.Layout | None = None) onegov.core.types.RenderData | webob.Response[source]

Renders the org’s homepage.

org.views.homepage.view_pages_sort(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.HomepageLayout | None = None) onegov.core.types.RenderData[source]