Skip to content

Document how plugin settings are used #10346

Closed
@hagbarddenstore

Description

@hagbarddenstore

Change Type

Addition

Area

Functionality/features

Proposed Changes

In the plugin development section, it is not documented how a plugin should access its own settings.

from django.conf import settings

settings.PLUGINS_CONFIG['plugin_name']['settings_key']

This method works and is Django standard, but NetBox populates the dict with the defaults from the plugin configuration.

I think this should be documented.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: documentationA change or addition to the documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions