diff --git a/netbox/tenancy/forms/bulk_import.py b/netbox/tenancy/forms/bulk_import.py index 9ffa3c29f..0aec0e28f 100644 --- a/netbox/tenancy/forms/bulk_import.py +++ b/netbox/tenancy/forms/bulk_import.py @@ -90,19 +90,20 @@ class ContactAssignmentImportForm(NetBoxModelImportForm): queryset=ContentType.objects.all(), help_text=_("One or more assigned object types") ) - contact = CSVModelChoiceField( queryset=Contact.objects.all(), to_field_name='name', help_text=_('Assigned contact') ) - role = CSVModelChoiceField( queryset=ContactRole.objects.all(), to_field_name='name', help_text=_('Assigned role') ) + # Remove the tags field added by NetBoxModelImportForm (unsupported by ContactAssignment) + tags = None + class Meta: model = ContactAssignment fields = ('content_type', 'object_id', 'contact', 'priority', 'role')