Replace STORAGE_BACKEND
and STORAGE_CONFIG
configuration parameters with Django's STORAGES
#18423
Labels
needs milestone
Awaiting prioritization for inclusion with a future NetBox release
status: under review
Further discussion is needed to determine this issue's scope and/or implementation
type: feature
Introduction of new functionality to the application
NetBox version
v4.2.1
Feature type
Change to existing functionality
Triage priority
N/A
Proposed functionality
NetBox currently exposes two configuration parameters for configuring file storage:
STORAGE_BACKEND
- Sets the storage backend (e.g.django-storages
)STORAGE_CONFIG
- A dictionary of backend-specific configuration parametersWe can replace these by instead exposing Django's
STORAGES
setting directly.Use case
Django's native
STORAGE_BACKEND
setting was removed in v5.1 and superseded bySTORAGES
. There is no longer a need to handle the backend selection and configuration via separate configuration parameters.Database changes
N/A
External dependencies
N/A
The text was updated successfully, but these errors were encountered: