1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#4416: Add individual delete views for organizational objects

This commit is contained in:
Jeremy Stretch
2020-07-01 12:08:26 -04:00
parent 4613b69c28
commit 8959d2e0a7
13 changed files with 71 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ class TenantGroupEditView(ObjectEditView):
model_form = forms.TenantGroupForm
class TenantGroupDeleteView(ObjectDeleteView):
queryset = TenantGroup.objects.all()
class TenantGroupBulkImportView(BulkImportView):
queryset = TenantGroup.objects.all()
model_form = forms.TenantGroupCSVForm