org.views.editor ================ .. py:module:: org.views.editor .. autoapi-nested-parse:: Implements the adding/editing/removing of pages. Functions --------- .. autoapisummary:: org.views.editor.get_form_class org.views.editor.handle_page_form org.views.editor.handle_new_page org.views.editor.handle_new_root_page org.views.editor.handle_edit_page org.views.editor.handle_move_page org.views.editor.handle_change_page_url org.views.editor.view_topics_sort Module Contents --------------- .. py:function:: get_form_class(editor: onegov.org.models.Editor, request: onegov.org.request.OrgRequest) -> type[onegov.form.Form] .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: view_topics_sort(self: onegov.org.models.Editor, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.EditorLayout | None = None) -> onegov.core.types.RenderData