Make ContactsMixin available for plugins #10607

Closed
opened 2025-12-29 21:33:38 +01:00 by adam · 0 comments
Owner

Originally created by @alehaa on GitHub (Jan 5, 2025).

Originally assigned to: @renatoalmeidaoliveira on GitHub.

NetBox version

v4.1.10

Feature type

Other

Triage priority

I volunteer to perform this work (if approved)

Proposed functionality

  1. Add ContactsMixin and related mixin classes (column, filterset, …) to the plugin documentation.
  2. Add ObjectContactsView to feature-view auto-registration

Use case

Plugins may want to use contacts for custom models. Making the mixin class public for use in the API will prevent plugins from reinventing the wheel and better integrate with NetBox, as they can implement a consistent UI with the NetBox core.

Database changes

None.

External dependencies

None.

Originally created by @alehaa on GitHub (Jan 5, 2025). Originally assigned to: @renatoalmeidaoliveira on GitHub. ### NetBox version v4.1.10 ### Feature type Other ### Triage priority I volunteer to perform this work (if approved) ### Proposed functionality 1. Add `ContactsMixin` and related mixin classes (column, filterset, …) to the plugin documentation. 2. Add `ObjectContactsView` to [feature-view auto-registration](https://github.com/netbox-community/netbox/blob/develop/netbox/netbox/models/features.py#L639-L655) ### Use case Plugins may want to use contacts for custom models. Making the mixin class public for use in the API will prevent plugins from reinventing the wheel and better integrate with NetBox, as they can implement a consistent UI with the NetBox core. ### Database changes None. ### External dependencies None.
adam added the status: acceptedtype: featurecomplexity: low labels 2025-12-29 21:33:38 +01:00
adam closed this issue 2025-12-29 21:33:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10607