mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Corrected order of arguments on DeviceVCMembershipForm
This commit is contained in:
parent
8b33b888b2
commit
37dde72c8f
@ -2315,7 +2315,7 @@ class DeviceVCMembershipForm(forms.ModelForm):
|
|||||||
'vc_priority': 'Priority',
|
'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)
|
super(DeviceVCMembershipForm, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
# Require VC position (only required when the Device is a VirtualChassis member)
|
# Require VC position (only required when the Device is a VirtualChassis member)
|
||||||
|
Loading…
Reference in New Issue
Block a user