Skip to content

Avoid automatically importing Branch & StagedChange models in nbshell #17482

Closed
@jeremystretch

Description

@jeremystretch

NetBox version

v4.1.1

Feature type

Change to existing functionality

Proposed functionality

When invoking a Python shell via manage.py nbshell, do not automatically import the Branch and StagedChange models from extras.

Use case

These models are seldom used, will soon be deprecated (see #17472), and conflict with the Branch model provided by the netbox-branching plugin (which aims to replace the core Branch model).

Database changes

N/A

External dependencies

N/A

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementstatus: 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