election_day.views.manage.upload_tokens ======================================= .. py:module:: election_day.views.manage.upload_tokens .. autoapi-nested-parse:: The manage subscription views. Functions --------- .. autoapisummary:: election_day.views.manage.upload_tokens.view_upload_tokens election_day.views.manage.upload_tokens.create_upload_token election_day.views.manage.upload_tokens.delete_upload_token Module Contents --------------- .. py:function:: view_upload_tokens(self: onegov.election_day.collections.UploadTokenCollection, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData View all upload tokens as a list. .. py:function:: create_upload_token(self: onegov.election_day.collections.UploadTokenCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) -> onegov.core.types.RenderData | webob.response.Response Create a new upload token. .. py:function:: delete_upload_token(self: onegov.election_day.models.UploadToken, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) -> onegov.core.types.RenderData | webob.response.Response Delete the upload token item.