election_day.views.manage.data_sources
The manage subscription views.
Functions
|
View all data sources as a list. |
|
Create a new data source. |
|
Manage the data source. |
|
Regenerate a new token for the data source. |
|
Delete the data source item. |
|
View all data source items as a list. |
|
Create a new data source item. |
|
Edit a data source item. |
|
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.