Extend ObjectEditView to support HTMX requests #17221
Labels
complexity: medium
Requires a substantial but not unusual amount of effort to implement
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Milestone
NetBox version
v4.1-beta1
Feature type
New functionality
Proposed functionality
Extend NetBox's generic ObjectEditView to support modifying objects via HTMX
POST
requests. This view currently supports HTMX only forGET
requests.This will entail checking whether a
POST
request is HTMX-enabled, and if so returning the applicable rendered content directly (rather than returning a 302 redirect).Use case
This change is necessary to support editing objects in place within an HTML template, and will unlock future functionality.
Database changes
None
External dependencies
None
The text was updated successfully, but these errors were encountered: