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

Avoid automatically importing Branch & StagedChange models in nbshell #17482

Closed
jeremystretch opened this issue Sep 12, 2024 · 0 comments · Fixed by #17483
Closed

Avoid automatically importing Branch & StagedChange models in nbshell #17482

jeremystretch opened this issue Sep 12, 2024 · 0 comments · Fixed by #17483
Assignees
Labels
complexity: low Requires minimal effort to implement 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.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

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application complexity: low Requires minimal effort to implement labels Sep 12, 2024
@jeremystretch jeremystretch self-assigned this Sep 12, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
complexity: low Requires minimal effort to implement 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