agency.views.agencies ===================== .. py:module:: agency.views.agencies Functions --------- .. autoapisummary:: agency.views.agencies.get_agency_form_class agency.views.agencies.get_membership_form_class agency.views.agencies.view_agencies agency.views.agencies.view_agencies_sort agency.views.agencies.view_agency agency.views.agencies.view_agency_sort agency.views.agencies.view_agency_as_nav_item agency.views.agencies.add_root_agency agency.views.agencies.add_agency agency.views.agencies.add_membership agency.views.agencies.sort_relationships agency.views.agencies.sort_children agency.views.agencies.edit_agency agency.views.agencies.change_agency_url agency.views.agencies.move_agency agency.views.agencies.get_root_pdf agency.views.agencies.create_root_pdf agency.views.agencies.create_agency_pdf agency.views.agencies.delete_agency agency.views.agencies.execute_agency_move agency.views.agencies.report_agency_change Module Contents --------------- .. py:function:: get_agency_form_class(model: object, request: onegov.agency.request.AgencyRequest) -> type[onegov.agency.forms.ExtendedAgencyForm] .. py:function:: get_membership_form_class(model: object, request: onegov.agency.request.AgencyRequest) -> type[onegov.agency.forms.MembershipForm] .. py:function:: view_agencies(self: onegov.agency.collections.ExtendedAgencyCollection, request: onegov.agency.request.AgencyRequest) -> onegov.core.types.RenderData .. py:function:: view_agencies_sort(self: onegov.agency.collections.ExtendedAgencyCollection, request: onegov.agency.request.AgencyRequest) -> onegov.core.types.RenderData .. py:function:: view_agency(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest) -> onegov.core.types.RenderData .. py:function:: view_agency_sort(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest) -> onegov.core.types.RenderData .. py:function:: view_agency_as_nav_item(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest) -> str .. py:function:: add_root_agency(self: onegov.agency.collections.ExtendedAgencyCollection, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.ExtendedAgencyForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: add_agency(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.ExtendedAgencyForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: add_membership(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.MembershipForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: sort_relationships(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: sort_children(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: edit_agency(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.ExtendedAgencyForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: change_agency_url(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.org.forms.generic.ChangeAdjacencyListUrlForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: move_agency(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.MoveAgencyForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: get_root_pdf(self: onegov.agency.collections.ExtendedAgencyCollection, request: onegov.agency.request.AgencyRequest) -> morepath.request.Response .. py:function:: create_root_pdf(self: onegov.agency.collections.ExtendedAgencyCollection, request: onegov.agency.request.AgencyRequest, form: onegov.form.Form) -> onegov.core.types.RenderData | webob.Response .. py:function:: create_agency_pdf(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.form.Form) -> onegov.core.types.RenderData | webob.Response .. py:function:: delete_agency(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: execute_agency_move(self: onegov.agency.models.AgencyMove, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: report_agency_change(self: onegov.agency.models.ExtendedAgency, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.AgencyMutationForm) -> onegov.core.types.RenderData | webob.Response