Closed
Description
NetBox version
3.2.9
Feature type
Change to existing functionality
Proposed functionality
I think it could need a change for the CustomFieldMixin
to work. Because get_custom_fields
returns a dict
where the key is the object
and not the field name
.
Use case
I am trying to build a custom link URL which requires querying custom object attributes. I want to access the site.slug
on the custom object assigned to ClusterGroup via a plugin model, something like
object.get_custom_fields()['field_name'].site.slug
Database changes
No response
External dependencies
No response