jschneier / django-storages

https://django-storages.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.7k stars 847 forks source link

[general] Write overwriting files in terms of .exists() #1422

Closed jschneier closed 2 weeks ago

jschneier commented 2 weeks ago

Follow upstream and write the file overwriting handling in terms of exists().

Reference: https://github.com/django/django/commit/0b33a3abc2ca7d68a24f6d0772bc2b9fa603744e#diff-63fca472a0ca8c04505cb4ec9c132663ac71fc964110afc8ae9218416f37821cR195-R202

mikicz commented 1 week ago

Btw found it very confusing that this change was not in the changelog!