Replace NetBoxModelCSVForm with NetBoxModelImportForm (#19)

Closes #18
This commit is contained in:
wkoot
2023-06-06 21:16:13 +02:00
committed by GitHub
parent 88edcde8d6
commit 5b96496b46
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ class SoftwareProductDeleteView(generic.ObjectDeleteView):
class SoftwareProductBulkImportView(generic.BulkImportView):
queryset = SoftwareProduct.objects.all()
model_form = forms.SoftwareProductCSVForm
model_form = forms.SoftwareProductImportForm
table = tables.SoftwareProductTable
@@ -88,7 +88,7 @@ class SoftwareProductVersionDeleteView(generic.ObjectDeleteView):
class SoftwareProductVersionBulkImportView(generic.BulkImportView):
queryset = SoftwareProductVersion.objects.all()
model_form = forms.SoftwareProductVersionCSVForm
model_form = forms.SoftwareProductVersionImportForm
table = tables.SoftwareProductVersionTable
@@ -134,7 +134,7 @@ class SoftwareProductInstallationDeleteView(generic.ObjectDeleteView):
class SoftwareProductInstallationBulkImportView(generic.BulkImportView):
queryset = SoftwareProductInstallation.objects.all()
model_form = forms.SoftwareProductInstallationCSVForm
model_form = forms.SoftwareProductInstallationImportForm
table = tables.SoftwareProductInstallationTable