org.views.user_groups

Functions

get_usergroup_form_class(...)

view_user_groups(→ onegov.core.types.RenderData)

add_user_group(→ RenderData | Response)

view_user_group(→ onegov.core.types.RenderData)

edit_user_group(→ RenderData | Response)

delete_user_group(→ None)

Module Contents

org.views.user_groups.get_usergroup_form_class(model: object, request: onegov.org.request.OrgRequest) type[onegov.org.forms.ManageUserGroupForm][source]
org.views.user_groups.view_user_groups(self: onegov.user.UserGroupCollection[onegov.user.UserGroup], request: onegov.org.request.OrgRequest, layout: onegov.org.layout.UserGroupCollectionLayout | None = None) onegov.core.types.RenderData[source]
org.views.user_groups.add_user_group(self: onegov.user.UserGroupCollection[onegov.user.UserGroup], request: onegov.org.request.OrgRequest, form: onegov.org.forms.ManageUserGroupForm, layout: onegov.org.layout.UserGroupCollectionLayout | None = None) RenderData | Response[source]
org.views.user_groups.view_user_group(self: onegov.user.UserGroup, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.UserGroupLayout | None = None) onegov.core.types.RenderData[source]
org.views.user_groups.edit_user_group(self: onegov.user.UserGroup, request: onegov.org.request.OrgRequest, form: onegov.org.forms.ManageUserGroupForm, layout: onegov.org.layout.UserGroupLayout | None = None) RenderData | Response[source]
org.views.user_groups.delete_user_group(self: onegov.user.UserGroup, request: onegov.org.request.OrgRequest) None[source]