Define replication_fields on VMInterfaceCreateForm

This commit is contained in:
jeremystretch 2022-09-09 14:45:24 -04:00
parent bd37cca0ae
commit 1fd23daa07
2 changed files with 1 additions and 1 deletions

View File

@ -8,3 +8,4 @@ __all__ = (
class VMInterfaceCreateForm(VMInterfaceForm): class VMInterfaceCreateForm(VMInterfaceForm):
name = ExpandableNameField() name = ExpandableNameField()
replication_fields = ('name',)

View File

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