mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -06:00
#13550: Clean up bulk view docstrings
This commit is contained in:
parent
0c9919a5e8
commit
e893ffcee4
@ -48,9 +48,8 @@ class ObjectListView(BaseMultiObjectView, ActionsMixin, TableMixin):
|
|||||||
Attributes:
|
Attributes:
|
||||||
filterset: A django-filter FilterSet that is applied to the queryset
|
filterset: A django-filter FilterSet that is applied to the queryset
|
||||||
filterset_form: The form class used to render filter options
|
filterset_form: The form class used to render filter options
|
||||||
actions: Supported actions for the model. When adding custom actions, bulk action names must
|
actions: A mapping of supported actions to their required permissions. When adding custom actions, bulk
|
||||||
be prefixed with `bulk_`. Default actions: add, import, export, bulk_edit, bulk_delete
|
action names must be prefixed with `bulk_`. (See ActionsMixin.)
|
||||||
action_perms: A dictionary mapping supported actions to a set of permissions required for each
|
|
||||||
"""
|
"""
|
||||||
template_name = 'generic/object_list.html'
|
template_name = 'generic/object_list.html'
|
||||||
filterset = None
|
filterset = None
|
||||||
|
@ -86,9 +86,8 @@ class ObjectChildrenView(ObjectView, ActionsMixin, TableMixin):
|
|||||||
child_model: The model class which represents the child objects
|
child_model: The model class which represents the child objects
|
||||||
table: The django-tables2 Table class used to render the child objects list
|
table: The django-tables2 Table class used to render the child objects list
|
||||||
filterset: A django-filter FilterSet that is applied to the queryset
|
filterset: A django-filter FilterSet that is applied to the queryset
|
||||||
actions: Supported actions for the model. When adding custom actions, bulk action names must
|
actions: A mapping of supported actions to their required permissions. When adding custom actions, bulk
|
||||||
be prefixed with `bulk_`. Default actions: add, import, export, bulk_edit, bulk_delete
|
action names must be prefixed with `bulk_`. (See ActionsMixin.)
|
||||||
action_perms: A dictionary mapping supported actions to a set of permissions required for each
|
|
||||||
"""
|
"""
|
||||||
child_model = None
|
child_model = None
|
||||||
table = None
|
table = None
|
||||||
|
Loading…
Reference in New Issue
Block a user