org.views.page

Renders a onegov.page.

Functions

delete_page(→ None)

view_topic(→ RenderData | Response)

view_news(→ RenderData | Response)

generate_rss_feed(→ str)

Module Contents

org.views.page.delete_page(self: onegov.org.models.Topic | onegov.org.models.News, request: onegov.org.request.OrgRequest) None[source]
org.views.page.view_topic(self: onegov.org.models.Topic, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.PageLayout | None = None) RenderData | Response[source]
org.views.page.view_news(self: onegov.org.models.News, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.NewsLayout | None = None) RenderData | Response[source]
org.views.page.generate_rss_feed(items: list[dict[str, str | bool]], request_url: str, feed_title: str, language: str = 'de_CH') str[source]