town6.views.allocation

Functions

town_view_allocation_rules(→ onegov.core.types.RenderData)

town_handle_new_allocation(→ RenderData | Response)

town_handle_edit_allocation(→ RenderData | Response)

Handles edit allocation for differing form classes.

town_handle_allocation_rule(→ RenderData | Response)

Module Contents

town6.views.allocation.town_view_allocation_rules(self: onegov.reservation.Resource, request: onegov.town6.request.TownRequest) onegov.core.types.RenderData[source]
town6.views.allocation.town_handle_new_allocation(self: onegov.reservation.Resource, request: onegov.town6.request.TownRequest, form: onegov.org.views.allocation.AllocationForm) RenderData | Response[source]
town6.views.allocation.town_handle_edit_allocation(self: onegov.reservation.Allocation, request: onegov.town6.request.TownRequest, form: onegov.org.views.allocation.AllocationEditForm) RenderData | Response[source]

Handles edit allocation for differing form classes.

town6.views.allocation.town_handle_allocation_rule(self: onegov.reservation.Resource, request: onegov.town6.request.TownRequest, form: onegov.org.forms.AllocationRuleForm) RenderData | Response[source]