mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-13 16:47:34 -06:00
This commit is contained in:
parent
dc8267d890
commit
c872cce59f
@ -231,14 +231,19 @@ SESSION_FILE_PATH = None
|
|||||||
# DISK_BASE_UNIT = 1024
|
# DISK_BASE_UNIT = 1024
|
||||||
# RAM_BASE_UNIT = 1024
|
# RAM_BASE_UNIT = 1024
|
||||||
|
|
||||||
# By default, uploaded media is stored on the local filesystem. Using Django-storages is also supported. Provide the
|
# Within the STORAGES dictionary, "default" is used for image uploads, "staticfiles" is for static files and "scripts"
|
||||||
# class path of the storage driver in STORAGE_BACKEND and any configuration options in STORAGE_CONFIG. For example:
|
# is used for custom scripts. See django-storages and django-storage-swift libraries for more details. By default the
|
||||||
# STORAGE_BACKEND = 'storages.backends.s3boto3.S3Boto3Storage'
|
# following configuration is used:
|
||||||
# STORAGE_CONFIG = {
|
# STORAGES = {
|
||||||
# 'AWS_ACCESS_KEY_ID': 'Key ID',
|
# "default": {
|
||||||
# 'AWS_SECRET_ACCESS_KEY': 'Secret',
|
# "BACKEND": "django.core.files.storage.FileSystemStorage",
|
||||||
# 'AWS_STORAGE_BUCKET_NAME': 'netbox',
|
# },
|
||||||
# 'AWS_S3_REGION_NAME': 'eu-west-1',
|
# "staticfiles": {
|
||||||
|
# "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
|
||||||
|
# },
|
||||||
|
# "scripts": {
|
||||||
|
# "BACKEND": "extras.storage.ScriptFileSystemStorage",
|
||||||
|
# },
|
||||||
# }
|
# }
|
||||||
|
|
||||||
# Time zone (default: UTC)
|
# Time zone (default: UTC)
|
||||||
|
Loading…
Reference in New Issue
Block a user