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

Provide a base table class for use by plugins #8470

Closed
Tracked by #8333
jeremystretch opened this issue Jan 27, 2022 · 0 comments
Closed
Tracked by #8333

Provide a base table class for use by plugins #8470

jeremystretch opened this issue Jan 27, 2022 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation topic: plugins Relates to the plugins framework type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

jeremystretch commented Jan 27, 2022

NetBox version

v3.1.6

Feature type

New functionality

Proposed functionality

Extend the plugins framework to provide a base table class, e.g. for object lists. Currently, NetBox uses our custom BaseTable class, which extends django_tables2.Table, however there's some opportunity here to provide something more efficient. For example, we can create (and use internally) a class which includes pk and tags columns by default.

Use case

Enables plugin authors to leverage existing code in NetBox.

Database changes

No response

External dependencies

No response

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application topic: plugins Relates to the plugins framework labels Jan 27, 2022
@jeremystretch jeremystretch added this to the v3.2 milestone Jan 27, 2022
@jeremystretch jeremystretch self-assigned this Jan 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation topic: plugins Relates to the plugins framework type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant