Bläddra i källkod

Removed obsolete validation from InterfaceConnectionCSVForm

Jeremy Stretch 9 år sedan
förälder
incheckning
4671829ad8
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      netbox/dcim/forms.py

+ 0 - 4
netbox/dcim/forms.py

@@ -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)