Provide a base table class for use by plugins #6009

Closed
opened 2025-12-29 19:35:40 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 27, 2022).

Originally assigned to: @jeremystretch on GitHub.

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

Originally created by @jeremystretch on GitHub (Jan 27, 2022). Originally assigned to: @jeremystretch on GitHub. ### 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_
adam added the status: acceptedtype: featuretopic: plugins labels 2025-12-29 19:35:40 +01:00
adam closed this issue 2025-12-29 19:35:40 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6009