File tree Expand file tree Collapse file tree 4 files changed +6
-0
lines changed
docs/admin/guides/configure-pulp Expand file tree Collapse file tree 4 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 1+ Fixed S3 Storage configuration.
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ STORAGES = {
7373 " region_name" : " eu-central-1" ,
7474 },
7575 },
76+ " staticfiles" : {
77+ " BACKEND" : " django.contrib.staticfiles.storage.StaticFilesStorage" ,
78+ },
7679}
7780```
7881
Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ class StorageSettingsSerializer(serializers.Serializer):
342342 STORAGE_MAPPING = {
343343 "pulpcore.app.models.storage.FileSystem" : FileSystemSettingsSerializer ,
344344 "pulpcore.app.models.storage.PulpSFTPStorage" : SFTPSettingsSerializer ,
345+ "storages.backends.s3.S3Storage" : AmazonS3SettingsSerializer ,
345346 "storages.backends.s3boto3.S3Boto3Storage" : AmazonS3SettingsSerializer ,
346347 "storages.backends.azure_storage.AzureStorage" : AzureSettingsSerializer ,
347348 "storages.backends.gcloud.GoogleCloudStorage" : GoogleSettingsSerializer ,
Original file line number Diff line number Diff line change 436436 Validator ("REDIRECT_TO_OBJECT_STORAGE" , eq = False )
437437 | Validator (* storage_keys , eq = "pulpcore.app.models.storage.FileSystem" )
438438 | Validator (* storage_keys , eq = "storages.backends.azure_storage.AzureStorage" )
439+ | Validator (* storage_keys , eq = "storages.backends.s3.S3Storage" )
439440 | Validator (* storage_keys , eq = "storages.backends.s3boto3.S3Boto3Storage" )
440441 | Validator (* storage_keys , eq = "storages.backends.gcloud.GoogleCloudStorage" )
441442)
You can’t perform that action at this time.
0 commit comments