Skip to content

Update documentation to Netbox 4.3 #249

Open
@theguy147

Description

@theguy147

Change Type

Correction

Proposed Changes

Since netbox-community/netbox@d4f8cb7, netbox.configuration has changed DATABASE to DATABASES (plural). This change should be reflected in this plugins setup documentation.

Therefore the following change in the local_settings.py is required for netbox >= 4.3:

-from .configuration import DATABASE
+from .configuration import DATABASES
# ...
-DATABASES = DynamicSchemaDict({
-    'default': DATABASE,
-})
+DATABASES = DynamicSchemaDict(DATABASES)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions