mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 00:15:17 -06:00
Define replication_fields on VMInterfaceCreateForm
This commit is contained in:
parent
bd37cca0ae
commit
1fd23daa07
@ -8,3 +8,4 @@ __all__ = (
|
|||||||
|
|
||||||
class VMInterfaceCreateForm(VMInterfaceForm):
|
class VMInterfaceCreateForm(VMInterfaceForm):
|
||||||
name = ExpandableNameField()
|
name = ExpandableNameField()
|
||||||
|
replication_fields = ('name',)
|
||||||
|
@ -451,7 +451,6 @@ class VMInterfaceCreateView(generic.ComponentCreateView):
|
|||||||
queryset = VMInterface.objects.all()
|
queryset = VMInterface.objects.all()
|
||||||
form = forms.VMInterfaceCreateForm
|
form = forms.VMInterfaceCreateForm
|
||||||
model_form = forms.VMInterfaceForm
|
model_form = forms.VMInterfaceForm
|
||||||
patterned_fields = ('name',)
|
|
||||||
|
|
||||||
|
|
||||||
class VMInterfaceEditView(generic.ObjectEditView):
|
class VMInterfaceEditView(generic.ObjectEditView):
|
||||||
|
Loading…
Reference in New Issue
Block a user