Remove the limit_choices_to attribute on the following model fields:
CableTermination.termination_type
InventoryItemTemplate.component_type
InventoryItem.component_type
IPAddress.assigned_object_type
VLANGroup.scope_type
ObjectPermission.object_types
VirtualMachine.role
L2VPNTermination.assigned_object_type
WirelessLink.interface_a
WirelessLink.interface_b
Justification
The limit_choices_to attribute was originally used to limit the selection of related objects for a field within a ModelForm. It is no longer needed as we explicitly declare these fields inside each ModelForm to employ dynamic selections via the REST API.
Proposed Changes
Remove the
limit_choices_to
attribute on the following model fields:CableTermination.termination_type
InventoryItemTemplate.component_type
InventoryItem.component_type
IPAddress.assigned_object_type
VLANGroup.scope_type
ObjectPermission.object_types
VirtualMachine.role
L2VPNTermination.assigned_object_type
WirelessLink.interface_a
WirelessLink.interface_b
Justification
The
limit_choices_to
attribute was originally used to limit the selection of related objects for a field within a ModelForm. It is no longer needed as we explicitly declare these fields inside each ModelForm to employ dynamic selections via the REST API.