django-resonant-settings 0.33.1__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.
- {django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/METADATA +1 -1
- {django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/RECORD +6 -6
- resonant_settings/production/https.py +1 -1
- resonant_settings/production/s3_storage.py +5 -1
- {django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/WHEEL +0 -0
- {django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/licenses/LICENSE +0 -0
{django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: django-resonant-settings
|
|
3
|
-
Version: 0.
|
|
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
|
{django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/RECORD
RENAMED
|
@@ -21,9 +21,9 @@ resonant_settings/development/debug_toolbar.py,sha256=GhIMbjYsHjiRhrRF6qhYwg-f4g
|
|
|
21
21
|
resonant_settings/development/minio_storage.py,sha256=4FIC3ZHyfej8IgbSgylFqXOcNx_-_sTUlCoBZLkeLYs,1002
|
|
22
22
|
resonant_settings/production/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
23
|
resonant_settings/production/email.py,sha256=EQJ7f9jhcu4NxnBa1Wo0gs7JFqaUB87_ETHbVdUo8HY,623
|
|
24
|
-
resonant_settings/production/https.py,sha256=
|
|
25
|
-
resonant_settings/production/s3_storage.py,sha256=
|
|
26
|
-
django_resonant_settings-0.
|
|
27
|
-
django_resonant_settings-0.
|
|
28
|
-
django_resonant_settings-0.
|
|
29
|
-
django_resonant_settings-0.
|
|
24
|
+
resonant_settings/production/https.py,sha256=X0bP_k2Y2axvg7CaWoZBYb9cuvVpfUyNtk4DPSfJRR8,865
|
|
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,,
|
|
@@ -12,7 +12,7 @@ SESSION_COOKIE_SECURE = True
|
|
|
12
12
|
CSRF_COOKIE_SECURE = True
|
|
13
13
|
|
|
14
14
|
# Enable HSTS
|
|
15
|
-
SECURE_HSTS_SECONDS = timedelta(days=365).total_seconds()
|
|
15
|
+
SECURE_HSTS_SECONDS = int(timedelta(days=365).total_seconds())
|
|
16
16
|
# This is already False by default, but it's important to ensure HSTS is not forced on other
|
|
17
17
|
# subdomains which may have different HTTPS practices.
|
|
18
18
|
SECURE_HSTS_INCLUDE_SUBDOMAINS = False
|
|
@@ -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
|
-
|
|
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())
|
{django_resonant_settings-0.33.1.dist-info → django_resonant_settings-0.40.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|