Rename CustomField object_type
to related_object_type
#15357
Labels
breaking change
This change modifies or removes some previously documented functionality
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Milestone
NetBox version
v3.7.3
Feature type
Change to existing functionality
Proposed functionality
Rename the
object_type
ForeignKey field on CustomField torelated_object_type
(or any better suggestion).Use case
Following the renaming of the
content_types
ManyToManyField toobject_types
under #15277, the nameobject_type
can now be quite confusing. (object_types
defines the types of NetBox objects on which the field appears, whereasobject_type
indicates the model indicated by an object or multi-object field.) Renaming this field should help avoid user confusion.Database changes
Rename the
object_type
ForeignKey field on the CustomField model (effecting a migration).External dependencies
None
The text was updated successfully, but these errors were encountered: