Source code for election_day.forms.upload.common


[docs] ALLOWED_MIME_TYPES = { 'application/excel', 'application/vnd.ms-excel', 'text/plain', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-office', 'application/octet-stream', 'application/zip', 'text/csv' }
[docs] ALLOWED_MIME_TYPES_XML = { 'application/xml', 'text/xml', 'text/plain' }
[docs] MAX_FILE_SIZE = 10 * 1024 * 1024