• Vajrasky Kok's avatar
    Fixed #21219 -- Added a way to set different permission for static files. · 9eecb916
    Vajrasky Kok yazdı
    Previously, when collecting static files, the files would receive permission
    from FILE_UPLOAD_PERMISSIONS. Now, there's an option to give different
    permission from uploaded files permission by subclassing any of the static
    files storage classes and setting the file_permissions_mode parameter.
    
    Thanks dblack at atlassian.com for the suggestion.
    9eecb916
tests.py 33.5 KB