Implement bulk imports and edits for SLM models (#46)
Partially implements #4 Based on @erichester76's https://github.com/ICTU/netbox_slm/pull/44 Signed-off-by: wkoot <[email protected]> Co-authored-by: Eric Hester <[email protected]>
This commit is contained in:
1 parent
3539539c4e
commit
a0a98bb407
12 files changed
+141
-10
No files matched your search
@@ -34,3 +34,9 @@ class SoftwareLicenseDeleteView(generic.ObjectDeleteView):
|
||||
class SoftwareLicenseBulkDeleteView(generic.BulkDeleteView):
|
||||
queryset = SoftwareLicense.objects.all()
|
||||
table = tables.SoftwareLicenseTable
|
||||
|
||||
|
||||
class SoftwareLicenseBulkImportView(generic.BulkImportView):
|
||||
queryset = SoftwareLicense.objects.all()
|
||||
table = tables.SoftwareLicenseTable
|
||||
model_form = forms.SoftwareLicenseBulkImportForm
|
||||
Reference in new issue
Block a user