election_day.views.manage.upload_tokens

The manage subscription views.

Functions

view_upload_tokens(→ onegov.core.types.RenderData)

View all upload tokens as a list.

create_upload_token(→ RenderData | Response)

Create a new upload token.

delete_upload_token(→ RenderData | Response)

Delete the upload token item.

Module Contents

election_day.views.manage.upload_tokens.view_upload_tokens(self: onegov.election_day.collections.UploadTokenCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View all upload tokens as a list.

election_day.views.manage.upload_tokens.create_upload_token(self: onegov.election_day.collections.UploadTokenCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Create a new upload token.

election_day.views.manage.upload_tokens.delete_upload_token(self: onegov.election_day.models.UploadToken, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Delete the upload token item.