org.views.editor

Implements the adding/editing/removing of pages.

Functions

get_form_class(→ type[onegov.form.Form])

handle_page_form(...)

handle_new_page(...)

handle_new_root_page(...)

handle_edit_page(...)

handle_move_page(...)

handle_change_page_url(...)

view_topics_sort(→ onegov.core.types.RenderData)

Module Contents

org.views.editor.get_form_class(editor: onegov.org.models.Editor, request: onegov.org.request.OrgRequest) type[onegov.form.Form][source]
org.views.editor.handle_page_form(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.EditorLayout | onegov.org.layout.PageLayout | None = None) onegov.core.types.RenderData | webob.Response[source]
org.views.editor.handle_new_page(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, form: onegov.form.Form, src: object | None = None, layout: onegov.org.layout.EditorLayout | onegov.org.layout.PageLayout | None = None) onegov.core.types.RenderData | webob.Response[source]
org.views.editor.handle_new_root_page(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.EditorLayout | onegov.org.layout.PageLayout | None = None) onegov.core.types.RenderData | webob.Response[source]
org.views.editor.handle_edit_page(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.EditorLayout | onegov.org.layout.PageLayout | None = None) onegov.core.types.RenderData | webob.Response[source]
org.views.editor.handle_move_page(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.EditorLayout | onegov.org.layout.PageLayout | None = None) onegov.core.types.RenderData | webob.Response[source]
org.views.editor.handle_change_page_url(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.EditorLayout | onegov.org.layout.PageLayout | None = None) onegov.core.types.RenderData | webob.Response[source]
org.views.editor.view_topics_sort(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.EditorLayout | None = None) onegov.core.types.RenderData[source]