org.forms.generic
Classes
A form providing a start/end date range. |
|
A form providing a choice of export formats. |
|
Module Contents
- class org.forms.generic.DateRangeForm[source]
Bases:
onegov.form.FormA form providing a start/end date range.
- class org.forms.generic.ExportForm[source]
Bases:
onegov.form.FormA form providing a choice of export formats.
- as_export_response(results: collections.abc.Sequence[dict[str, Any]], title: str = 'export', **kwargs: Any) morepath.request.Response[source]
Turns the given results (list of dicts) into a webob response with the currently selected file format.
The additional keyword arguments are directly passed into the convert_list_of_dicts_to_* functions.
For json and xml, these additional arguments are ignored.
- class org.forms.generic.ChangeAdjacencyListUrlForm[source]
Bases:
ChangeUrlForm