1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Removed obsolete validation from InterfaceConnectionCSVForm

This commit is contained in:
Jeremy Stretch
2017-06-07 15:33:10 -04:00
parent 293be752ca
commit 4671829ad8

View File

@@ -1672,10 +1672,6 @@ class InterfaceConnectionCSVForm(forms.ModelForm):
return interface
def clean_connection_status(self):
return True if self.cleaned_data['connection_status'] == 'connected' else False
class InterfaceConnectionDeletionForm(BootstrapMixin, forms.Form):
confirm = forms.BooleanField(required=True)