org.views.homepage

The onegov organisation homepage.

Functions

redirect_to(→ Response | None)

view_org(→ RenderData | 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) Response | None[source]
org.views.homepage.view_org(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, layout: Layout | None = None) RenderData | 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]