-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: pluginsRelates to the plugins frameworkRelates to the plugins frameworktype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Milestone
Description
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 implementationThis issue has been accepted for implementationtopic: pluginsRelates to the plugins frameworkRelates to the plugins frameworktype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application