agency.views.memberships ======================== .. py:module:: agency.views.memberships Functions --------- .. autoapisummary:: agency.views.memberships.get_membership_form_class agency.views.memberships.view_membership agency.views.memberships.edit_membership agency.views.memberships.delete_membership agency.views.memberships.move_membership_within_agency agency.views.memberships.move_membership_within_person agency.views.memberships.vcard_export_membership Module Contents --------------- .. py:function:: get_membership_form_class(model: onegov.agency.models.ExtendedAgencyMembership, request: onegov.agency.request.AgencyRequest) -> type[onegov.agency.forms.MembershipForm] .. py:function:: view_membership(self: onegov.people.AgencyMembership, request: onegov.agency.request.AgencyRequest) -> onegov.core.types.RenderData .. py:function:: edit_membership(self: onegov.agency.models.ExtendedAgencyMembership, request: onegov.agency.request.AgencyRequest, form: onegov.agency.forms.MembershipForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: delete_membership(self: onegov.people.AgencyMembership, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: move_membership_within_agency(self: onegov.agency.models.AgencyMembershipMoveWithinAgency, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: move_membership_within_person(self: onegov.agency.models.move.AgencyMembershipMoveWithinPerson, request: onegov.agency.request.AgencyRequest) -> None .. py:function:: vcard_export_membership(self: onegov.people.AgencyMembership, request: onegov.agency.request.AgencyRequest) -> morepath.request.Response Returns the memberships vCard.