Introduce a generic view to handle the display of child objects (e.g. prefix child IPs) #5772

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

Originally created by @jeremystretch on GitHub (Dec 14, 2021).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Many objects in NetBox have secondary tabs which display tables of associated child objects. For example, a prefix has tabs for child prefixes, IP ranges, and IP addresses. Currently, these views each use the generic ObjectView, however there's a considerable amount of redundancy among them.

This issue proposes introducing a new ObjectChildrenView to better standardize these views.

Justification

Using a common generic view will reduce redundant code and strengthen standardized operation across these views.

Originally created by @jeremystretch on GitHub (Dec 14, 2021). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Many objects in NetBox have secondary tabs which display tables of associated child objects. For example, a prefix has tabs for child prefixes, IP ranges, and IP addresses. Currently, these views each use the generic ObjectView, however there's a considerable amount of redundancy among them. This issue proposes introducing a new ObjectChildrenView to better standardize these views. ### Justification Using a common generic view will reduce redundant code and strengthen standardized operation across these views.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 19:32:30 +01:00
adam closed this issue 2025-12-29 19:32:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5772