Skip to content

Permit loading settings from a designated external module #16127

Closed
@jeremystretch

Description

@jeremystretch

NetBox version

v4.0.1

Feature type

New functionality

Proposed functionality

Extend settings.py to load arbitrary settings from a designated external module (local_settings.py), if it exists, and set settings._UNSUPPORTED_SETTINGS to true, indicating the use of unsupported settings.

Use case

This will permit an administrator to extend or override NetBox's core settings without needing to modify the core code base.

As we (the maintainers) cannot predict what changes may be made by an external module, modification to the core settings is entirely unsupported. If in use, users will need to remove local_settings.py and re-test for any suspect behavior prior to submitting a bug report.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions