django-resonant-settings 0.33.1__tar.gz → 0.40.0__tar.gz
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 → django_resonant_settings-0.40.0}/PKG-INFO +1 -1
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/production/https.py +1 -1
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/production/s3_storage.py +5 -1
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/.gitignore +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/LICENSE +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/README.md +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/pyproject.toml +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/__init__.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/_env.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/__init__.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/adapter.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/apps.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/createsuperuser.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/management/commands/createsuperuser.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/receiver.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth_support/utils.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/celery.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/development/__init__.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/development/celery.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/development/debug_toolbar.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/development/minio_storage.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/django.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/django_extensions.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/logging.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/oauth_toolkit.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/production/__init__.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/production/email.py +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/py.typed +0 -0
- {django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/rest_framework.py +0 -0
|
@@ -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
|
|
@@ -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())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/__init__.py
RENAMED
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/_env.py
RENAMED
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/allauth.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/celery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/django.py
RENAMED
|
File without changes
|
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/logging.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{django_resonant_settings-0.33.1 → django_resonant_settings-0.40.0}/resonant_settings/py.typed
RENAMED
|
File without changes
|
|
File without changes
|