mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
11617 update header processing for related fields
This commit is contained in:
parent
a9f62c2e6e
commit
f46ac8b06a
@ -220,7 +220,7 @@ def headers_to_dict(headers):
|
|||||||
raise forms.ValidationError(f'Duplicate or conflicting column header for "{field}"')
|
raise forms.ValidationError(f'Duplicate or conflicting column header for "{field}"')
|
||||||
header_dict[field] = to_field
|
header_dict[field] = to_field
|
||||||
else:
|
else:
|
||||||
if header in headers:
|
if header in header_dict:
|
||||||
raise forms.ValidationError(f'Duplicate or conflicting column header for "{header}"')
|
raise forms.ValidationError(f'Duplicate or conflicting column header for "{header}"')
|
||||||
header_dict[header] = None
|
header_dict[header] = None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user