Skip to content

This makes sure to not overwrite files on the object store#1579

Open
bartjkdp wants to merge 1 commit intoAmsterdam:mainfrom
delta10:fix/do-not-overwrite-files
Open

This makes sure to not overwrite files on the object store#1579
bartjkdp wants to merge 1 commit intoAmsterdam:mainfrom
delta10:fix/do-not-overwrite-files

Conversation

@bartjkdp
Copy link
Contributor

@bartjkdp bartjkdp commented Mar 10, 2026

Description

This pull request introduces a minor configuration change to the S3 storage settings. The change sets the AWS_S3_FILE_OVERWRITE option to False, which prevents files from being overwritten when uploading to S3.

https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings

Checklist

  • Keep the PR, and the amount of commits to a minimum
  • The commit messages are meaningful and descriptive
  • The change/fix is well documented, particularly in hard-to-understand areas of the code / unit tests
  • Are there any breaking changes in the code, if so are they discussed and did the team agreed to these changes
  • Check that the branch is based on main and is up to date with main
  • Check that the PR targets main
  • There are no merge conflicts and no conflicting Django migrations
  • PR was created with the "Allow edits and access to secrets by maintainers" checkbox checked

How has this been tested?

  • Provided unit tests that will prove the change/fix works as intended
  • Tested the change/fix locally and all unit tests still pass
  • Code coverage is at least 85% (the higher the better)
  • No iSort, Flake8 and SPDX issues are present in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant