winterthur.views.directory ========================== .. py:module:: winterthur.views.directory Functions --------- .. autoapisummary:: winterthur.views.directory.get_directory_form_class winterthur.views.directory.handle_new_directory winterthur.views.directory.handle_edit_directory Module Contents --------------- .. py:function:: get_directory_form_class(model: onegov.directory.DirectoryCollection[Any] | onegov.org.models.directory.ExtendedDirectoryEntryCollection, request: onegov.winterthur.request.WinterthurRequest) -> type[onegov.org.forms.DirectoryForm] .. py:function:: handle_new_directory(self: onegov.directory.DirectoryCollection[Any], request: onegov.winterthur.request.WinterthurRequest, form: onegov.org.forms.DirectoryForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_edit_directory(self: onegov.org.models.directory.ExtendedDirectoryEntryCollection, request: onegov.winterthur.request.WinterthurRequest, form: onegov.org.forms.DirectoryForm) -> onegov.core.types.RenderData | webob.Response