Fix bulk creation of VM interfaces (thanks @kkthxbye-code!)

This commit is contained in:
jeremystretch 2022-09-14 15:55:09 -04:00
parent 889df4eea2
commit 657a0f5259

View File

@ -9,3 +9,6 @@ __all__ = (
class VMInterfaceCreateForm(VMInterfaceForm): class VMInterfaceCreateForm(VMInterfaceForm):
name = ExpandableNameField() name = ExpandableNameField()
replication_fields = ('name',) replication_fields = ('name',)
class Meta(VMInterfaceForm.Meta):
exclude = ('name',)