Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit loading settings from a designated external module #16127

Closed
jeremystretch opened this issue May 14, 2024 · 0 comments · Fixed by #16128
Closed

Permit loading settings from a designated external module #16127

jeremystretch opened this issue May 14, 2024 · 0 comments · Fixed by #16128
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant