Changes between Initial Version and Version 1 of Ticket #28242, comment 3


Ignore:
Timestamp:
May 26, 2017, 8:52:06 AM (7 years ago)
Author:
Manatsawin Hanmongkolchai

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28242, comment 3

    initial v1  
    22
    33As we're already on S3, I felt it is not neccessary to add an extension to the file name (as S3 would already have the Content-Type metadata, which django-storages would set automatically from the original extension). It also make the upload_to function easier to implement.
     4
     5(edit) I'd like to add that I still think that having extension validator is useful. (For example, user might upload PDF and the error should tell the user to upload in some other formats) That's why I couldn't just disable the default validator.
Back to Top