agency.views.memberships

Functions

get_membership_form_class(...)

view_membership(→ onegov.core.types.RenderData)

edit_membership(→ RenderData | BaseResponse)

delete_membership(→ None)

move_membership_within_agency(→ None)

move_membership_within_person(→ None)

vcard_export_membership(→ morepath.request.Response)

Returns the memberships vCard.

Module Contents

agency.views.memberships.get_membership_form_class(model: onegov.agency.models.ExtendedAgencyMembership, request: onegov.agency.request.AgencyRequest) type[onegov.agency.forms.MembershipForm][source]
agency.views.memberships.view_membership(self: onegov.people.AgencyMembership, request: onegov.agency.request.AgencyRequest) onegov.core.types.RenderData[source]
agency.views.memberships.edit_membership(self: onegov.agency.models.ExtendedAgencyMembership, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.MembershipForm) RenderData | BaseResponse[source]
agency.views.memberships.delete_membership(self: onegov.people.AgencyMembership, request: onegov.agency.request.AgencyRequest) None[source]
agency.views.memberships.move_membership_within_agency(self: onegov.agency.models.AgencyMembershipMoveWithinAgency, request: onegov.agency.request.AgencyRequest) None[source]
agency.views.memberships.move_membership_within_person(self: onegov.agency.models.move.AgencyMembershipMoveWithinPerson, request: onegov.agency.request.AgencyRequest) None[source]
agency.views.memberships.vcard_export_membership(self: onegov.people.AgencyMembership, request: onegov.agency.request.AgencyRequest) morepath.request.Response[source]

Returns the memberships vCard.