Sfoglia il codice sorgente

Add MIME-type for SVG upload support

master
piernov 9 anni fa
parent
commit
7edcb5a09c
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. +3
    -1
      jm2l/upload.py

+ 3
- 1
jm2l/upload.py Vedi File

@@ -24,7 +24,9 @@ ACCEPTED_MIMES = ['application/pdf',
'application/vnd.oasis.opendocument.presentation',
'application/vnd.oasis.opendocument.presentation-template',
'application/vnd.oasis.opendocument.spreadsheet',
'application/vnd.oasis.opendocument.spreadsheet-template']
'application/vnd.oasis.opendocument.spreadsheet-template',
'image/svg+xml'
]




Caricamento…
Annulla
Salva