agency.views.agencies

Functions

get_agency_form_class(...)

get_membership_form_class(...)

view_agencies(→ onegov.core.types.RenderData)

view_agencies_sort(→ onegov.core.types.RenderData)

view_agency(→ onegov.core.types.RenderData)

view_agency_sort(→ onegov.core.types.RenderData)

view_agency_as_nav_item(→ str)

add_root_agency(→ RenderData | BaseResponse)

add_agency(→ RenderData | BaseResponse)

add_membership(→ RenderData | BaseResponse)

sort_relationships(→ None)

sort_children(→ None)

edit_agency(→ RenderData | BaseResponse)

change_agency_url(→ RenderData | BaseResponse)

move_agency(→ RenderData | BaseResponse)

get_root_pdf(→ morepath.request.Response)

create_root_pdf(→ RenderData | BaseResponse)

create_agency_pdf(→ RenderData | BaseResponse)

delete_agency(→ None)

execute_agency_move(→ None)

report_agency_change(→ RenderData | BaseResponse)

Module Contents

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