freedomofpress / securethenews

An automated scanner and web dashboard for tracking TLS deployment across news organizations
https://securethe.news
GNU Affero General Public License v3.0
101 stars 29 forks source link

Disable Google Storage default file overwrite behavior #363

Closed chigby closed 2 years ago

chigby commented 2 years ago

See documentation here for more info on the GS_FILE_OVERWRITE option:

https://django-storages.readthedocs.io/en/latest/backends/gcloud.html

This pull request will disable the default django-storages behavior for overwriting files unless the environment variable GS_FILE_OVERWRITE is set to the string "True".