Consolidate device component model forms #3252

Closed
opened 2025-12-29 18:27:06 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Jan 30, 2020).

Proposed Changes

We currently maintain separate forms for the creation and modification of device components; for example, ConsolePortForm and ConsolePortCreateForm. We should explore the feasibility of consolidating these pairs into single forms.

Justification

Maintaining a single form per model lowers development burden and reduces the risk that changes to a model will not be accurately reflected across both forms.

Originally created by @jeremystretch on GitHub (Jan 30, 2020). ### Proposed Changes We currently maintain separate forms for the creation and modification of device components; for example, `ConsolePortForm` and `ConsolePortCreateForm`. We should explore the feasibility of consolidating these pairs into single forms. ### Justification Maintaining a single form per model lowers development burden and reduces the risk that changes to a model will not be accurately reflected across both forms.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 18:27:06 +01:00
adam closed this issue 2025-12-29 18:27:06 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 6, 2022):

This has largely been addressed in the current code base.

@jeremystretch commented on GitHub (Apr 6, 2022): This has largely been addressed in the current code base.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3252