upgrade packages
This commit is contained in:
parent
171096f9da
commit
952bb6107a
1 changed files with 1 additions and 3 deletions
|
|
@ -331,7 +331,7 @@ STORAGES = {
|
||||||
"MINIO_SECRET_KEY": config('MINIO_SECRET_KEY'),
|
"MINIO_SECRET_KEY": config('MINIO_SECRET_KEY'),
|
||||||
"MINIO_URL_EXPIRY_HOURS": timedelta(days=1), # Default is 7 days (longest) if not defined
|
"MINIO_URL_EXPIRY_HOURS": timedelta(days=1), # Default is 7 days (longest) if not defined
|
||||||
"MINIO_CONSISTENCY_CHECK_ON_START": True,
|
"MINIO_CONSISTENCY_CHECK_ON_START": True,
|
||||||
"MINIO_MEDIA_FILES_BUCKET": config('MINIO_MEDIA_FILES_BUCKET'), # replacement for MEDIA_ROOT
|
"MINIO_DEFAULT_BUCKET": config('MINIO_MEDIA_FILES_BUCKET'), # replacement for MEDIA_ROOT
|
||||||
# MINIO_STATIC_FILES_BUCKET = 'my-static-files-bucket' # replacement for STATIC_ROOT
|
# MINIO_STATIC_FILES_BUCKET = 'my-static-files-bucket' # replacement for STATIC_ROOT
|
||||||
|
|
||||||
"MINIO_PRIVATE_BUCKETS": [
|
"MINIO_PRIVATE_BUCKETS": [
|
||||||
|
|
@ -345,14 +345,12 @@ STORAGES = {
|
||||||
"MINIO_BUCKET_CHECK_ON_SAVE": True # Default: True // Creates bucket if missing, then save
|
"MINIO_BUCKET_CHECK_ON_SAVE": True # Default: True // Creates bucket if missing, then save
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
"staticfiles": {
|
"staticfiles": {
|
||||||
# "BACKEND": "django_minio_backend.models.MinioBackendStatic",
|
# "BACKEND": "django_minio_backend.models.MinioBackendStatic",
|
||||||
# "BACKEND": "django.core.files.storage.FileSystemStorage",
|
# "BACKEND": "django.core.files.storage.FileSystemStorage",
|
||||||
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Custom HTTP Client (OPTIONAL)
|
# Custom HTTP Client (OPTIONAL)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue