mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Partially reverts0b33a3abc2
. Storage.exists(name) was documented to "return False if the name is available for a new file." but return True if the file exists. This is ambiguous in the overwrite file case. It will now always return whether the file exists. Thank you to Natalia Bidart and Josh Schneier for the review. Backport of8d6a20b656
from main.