Browse Source

Corrected order of arguments on DeviceVCMembershipForm

Jeremy Stretch 7 years ago
parent
commit
37dde72c8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/dcim/forms.py

+ 1 - 1
netbox/dcim/forms.py

@@ -2315,7 +2315,7 @@ class DeviceVCMembershipForm(forms.ModelForm):
             'vc_priority': 'Priority',
         }
 
-    def __init__(self, *args, validate_vc_position=False, **kwargs):
+    def __init__(self, validate_vc_position=False, *args, **kwargs):
         super(DeviceVCMembershipForm, self).__init__(*args, **kwargs)
 
         # Require VC position (only required when the Device is a VirtualChassis member)