winterthur.views.directory

Functions

get_directory_form_class(...)

handle_new_directory(→ RenderData | Response)

handle_edit_directory(→ RenderData | Response)

Module Contents

winterthur.views.directory.get_directory_form_class(model: onegov.directory.DirectoryCollection[Any] | onegov.org.models.directory.ExtendedDirectoryEntryCollection, request: onegov.winterthur.request.WinterthurRequest) type[onegov.org.forms.DirectoryForm][source]
winterthur.views.directory.handle_new_directory(self: onegov.directory.DirectoryCollection[Any], request: onegov.winterthur.request.WinterthurRequest, form: onegov.org.forms.DirectoryForm) RenderData | Response[source]
winterthur.views.directory.handle_edit_directory(self: onegov.org.models.directory.ExtendedDirectoryEntryCollection, request: onegov.winterthur.request.WinterthurRequest, form: onegov.org.forms.DirectoryForm) RenderData | Response[source]