File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change 3333
3434
3535## By default uploaded media is stored on the local filesystem. Using Django-storages is also supported. Provide the
36- ## class path of the storage driver in STORAGE_BACKEND and any configuration options in STORAGE_CONFIG. For example:
37- # STORAGE_BACKEND = 'storages.backends.s3boto3.S3Boto3Storage'
38- # STORAGE_CONFIG = {
39- # 'AWS_ACCESS_KEY_ID': 'Key ID',
40- # 'AWS_SECRET_ACCESS_KEY': 'Secret',
41- # 'AWS_STORAGE_BUCKET_NAME': 'netbox',
42- # 'AWS_S3_REGION_NAME': 'eu-west-1',
36+ ## class path of the storage driver and any configuration options in STORAGES. For example:
37+ # STORAGES = {
38+ # 'default': {
39+ # 'BACKEND': 'storages.backends.s3boto3.S3Boto3Storage',
40+ # 'OPTIONS': {
41+ # 'access_key': 'Key ID',
42+ # 'secret_key': 'Secret',
43+ # 'bucket_name': 'netbox',
44+ # 'region_name': 'us-west-1',
45+ # }
46+ # },
47+ # 'staticfiles': {
48+ # 'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage',
49+ # }
4350# }
4451
4552
You can’t perform that action at this time.
0 commit comments