Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove hard-coded overwrite_files in AzureStorage
The overwrite_files is True by default, and should be settable from the django settings using AZURE_OVERWRITE_FILES. Removing this override will keep the default behaviour (True), while still allowing users to change it. NOTE: this change is important because django / django-storages changed the semantics of the .exists() function, which now returns whether a path is free for upload (and not whether the file already exists on the remote storage). With overwrite_files set to True, .exists() will now always return False. See jschneier/django-storages#1430
- Loading branch information