You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be a nice feature to change the file extension of the uploaded file to a guest file extension from mimetype. Sometimes users uploads images or other files with the wrong extension.
I already implemented this functionality but this currently requires a subclass of FieldFile.
The text was updated successfully, but these errors were encountered:
Thanks, could you send me your implementation, as an example? Sounds interesting.
Any way, i don't consider that automatically correcting the file extension is a good thing, or at least some thing that is responsability of this module. Perhaps it would be more appropriate to (optionally) check the extension and give an error if it does not match the mimetype (so the user decides what to do).
Hi,
it would be a nice feature to change the file extension of the uploaded file to a guest file extension from mimetype. Sometimes users uploads images or other files with the wrong extension.
I already implemented this functionality but this currently requires a subclass of
FieldFile
.The text was updated successfully, but these errors were encountered: