Skip to content

Support the use of NetBox's generic views by plugins #8334

@jeremystretch

Description

@jeremystretch

NetBox version

v3.1.5

Feature type

New functionality

Proposed functionality

Formally support and document the use of NetBox's generic view classes by plugins. These are to include initially:

  • ObjectView
  • ObjectEditView
  • ObjectDeleteView
  • ObjectListView
  • BulkImportView
  • BulkEditView
  • BulkDeleteView

Additional views may also be added or created depending on feedback from plugin authors.

Most of these classes likely must undergo so amount of refactoring and formalization to ensure a degree of maturity suitable for the inclusion in a public framework.

Use case

Much like Django's own generic views, use of these views enables plugin authors to avoid writing a substantial amount of boilerplate code.

Database changes

No response

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtopic: pluginsRelates to the plugins frameworktype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions