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

Add queryset to all BulkImportViews

This commit is contained in:
Jeremy Stretch
2020-05-21 11:58:27 -04:00
parent 5486cff441
commit 40c590f445
7 changed files with 52 additions and 10 deletions

View File

@@ -676,11 +676,11 @@ class BulkEditView(GetReturnURLMixin, View):
"""
Edit objects in bulk.
queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
filter: FilterSet to apply when deleting by QuerySet
table: The table used to display devices being edited
form: The form class used to edit objects in bulk
template_name: The name of the template
:param queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
:param filter: FilterSet to apply when deleting by QuerySet
:param table: The table used to display devices being edited
:param form: The form class used to edit objects in bulk
:param template_name: The name of the template
"""
queryset = None
filterset = None
@@ -829,11 +829,11 @@ class BulkDeleteView(GetReturnURLMixin, View):
"""
Delete objects in bulk.
queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
filter: FilterSet to apply when deleting by QuerySet
table: The table used to display devices being deleted
form: The form class used to delete objects in bulk
template_name: The name of the template
:param queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
:param filter: FilterSet to apply when deleting by QuerySet
:param table: The table used to display devices being deleted
:param form: The form class used to delete objects in bulk
:param template_name: The name of the template
"""
queryset = None
filterset = None