mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-13 02:58:17 -06:00
Power Ports don't have a type (yet)
This commit is contained in:
parent
d00f262ec1
commit
26772de0b6
@ -2071,11 +2071,6 @@ class PowerPortCSVForm(forms.ModelForm):
|
||||
model = PowerPort
|
||||
fields = PowerPort.csv_headers
|
||||
|
||||
def clean_type(self):
|
||||
# The type may be blank, but not None
|
||||
value = self.cleaned_data['type']
|
||||
return value if value is not None else ''
|
||||
|
||||
|
||||
#
|
||||
# Power outlets
|
||||
|
Loading…
Reference in New Issue
Block a user