Parcourir la source

Removed obsolete validation from InterfaceConnectionCSVForm

Jeremy Stretch il y a 7 ans
Parent
commit
4671829ad8
1 fichiers modifiés avec 0 ajouts et 4 suppressions
  1. 0 4
      netbox/dcim/forms.py

+ 0 - 4
netbox/dcim/forms.py

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