election_day.views.manage.data_sources

The manage subscription views.

Functions

view_data_sources(→ onegov.core.types.RenderData)

View all data sources as a list.

create_data_source(→ RenderData | Response)

Create a new data source.

manage_data_source(→ webob.response.Response)

Manage the data source.

generate_data_source_token(→ RenderData | Response)

Regenerate a new token for the data source.

delete_data_source(→ RenderData | Response)

Delete the data source item.

view_data_source_items(→ onegov.core.types.RenderData)

View all data source items as a list.

create_data_source_item(→ RenderData | Response)

Create a new data source item.

edit_data_source_item(→ RenderData | Response)

Edit a data source item.

delete_data_source_item(→ RenderData | Response)

Delete the data source item.

Module Contents

election_day.views.manage.data_sources.view_data_sources(self: onegov.election_day.collections.DataSourceCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View all data sources as a list.

election_day.views.manage.data_sources.create_data_source(self: onegov.election_day.collections.DataSourceCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.DataSourceForm) RenderData | Response[source]

Create a new data source.

election_day.views.manage.data_sources.manage_data_source(self: onegov.election_day.models.DataSource, request: onegov.election_day.request.ElectionDayRequest) webob.response.Response[source]

Manage the data source.

Redirect to the list of data source items.

election_day.views.manage.data_sources.generate_data_source_token(self: onegov.election_day.models.DataSource, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Regenerate a new token for the data source.

election_day.views.manage.data_sources.delete_data_source(self: onegov.election_day.models.DataSource, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Delete the data source item.

election_day.views.manage.data_sources.view_data_source_items(self: onegov.election_day.collections.DataSourceItemCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View all data source items as a list.

election_day.views.manage.data_sources.create_data_source_item(self: onegov.election_day.collections.DataSourceItemCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.DataSourceItemForm) RenderData | Response[source]

Create a new data source item.

election_day.views.manage.data_sources.edit_data_source_item(self: onegov.election_day.models.DataSourceItem, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.DataSourceItemForm) RenderData | Response[source]

Edit a data source item.

election_day.views.manage.data_sources.delete_data_source_item(self: onegov.election_day.models.DataSourceItem, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Delete the data source item.