django-resonant-settings 0.33.2__py3-none-any.whl → 0.40.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: django-resonant-settings
3
- Version: 0.33.2
3
+ Version: 0.40.0
4
4
  Summary: Shared Django settings for Resonant applications.
5
5
  Project-URL: Repository, https://github.com/kitware-resonant/cookiecutter-resonant
6
6
  Project-URL: Bug Reports, https://github.com/kitware-resonant/cookiecutter-resonant/issues
@@ -22,8 +22,8 @@ resonant_settings/development/minio_storage.py,sha256=4FIC3ZHyfej8IgbSgylFqXOcNx
22
22
  resonant_settings/production/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
23
  resonant_settings/production/email.py,sha256=EQJ7f9jhcu4NxnBa1Wo0gs7JFqaUB87_ETHbVdUo8HY,623
24
24
  resonant_settings/production/https.py,sha256=X0bP_k2Y2axvg7CaWoZBYb9cuvVpfUyNtk4DPSfJRR8,865
25
- resonant_settings/production/s3_storage.py,sha256=2TPSHcBazFeYfJhZWTQfuAGWa-WZ4wDife_NXaA0Tfc,973
26
- django_resonant_settings-0.33.2.dist-info/METADATA,sha256=KLVMOnA0ZI1C8frc5vGS88RT0aJO90VqUe8YxriaX-0,1720
27
- django_resonant_settings-0.33.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
- django_resonant_settings-0.33.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
- django_resonant_settings-0.33.2.dist-info/RECORD,,
25
+ resonant_settings/production/s3_storage.py,sha256=K60ygThFVuciJW4lVIPY6RAJ-eaKgNzgnqpTHbkCNTM,1215
26
+ django_resonant_settings-0.40.0.dist-info/METADATA,sha256=AXaoyYLBJTHdyNW3ZnCKNz12tZ5MMLG7Be6BlV7XiM4,1720
27
+ django_resonant_settings-0.40.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
28
+ django_resonant_settings-0.40.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
29
+ django_resonant_settings-0.40.0.dist-info/RECORD,,
@@ -27,5 +27,9 @@ AWS_STORAGE_BUCKET_NAME: str = env.str("DJANGO_STORAGE_BUCKET_NAME")
27
27
  AWS_S3_SIGNATURE_VERSION = "s3v4"
28
28
 
29
29
  AWS_S3_MAX_MEMORY_SIZE = 5 * 1024 * 1024
30
- AWS_S3_FILE_OVERWRITE = False
30
+
31
+ # Although overwriting existing files can be dangerous, it's the application's responsibility
32
+ # (not the Storage layer) to handle. Setting this to `False` allows file names to be mutated in
33
+ # the event of a collision, which can be confusing.
34
+ AWS_S3_FILE_OVERWRITE = True
31
35
  AWS_QUERYSTRING_EXPIRE = int(timedelta(hours=6).total_seconds())