diff --git a/netbox/netbox/views/generic/bulk_views.py b/netbox/netbox/views/generic/bulk_views.py index 4764642b3..0ecb4e189 100644 --- a/netbox/netbox/views/generic/bulk_views.py +++ b/netbox/netbox/views/generic/bulk_views.py @@ -48,9 +48,8 @@ class ObjectListView(BaseMultiObjectView, ActionsMixin, TableMixin): Attributes: filterset: A django-filter FilterSet that is applied to the queryset filterset_form: The form class used to render filter options - actions: Supported actions for the model. When adding custom actions, bulk action names must - be prefixed with `bulk_`. Default actions: add, import, export, bulk_edit, bulk_delete - action_perms: A dictionary mapping supported actions to a set of permissions required for each + actions: A mapping of supported actions to their required permissions. When adding custom actions, bulk + action names must be prefixed with `bulk_`. (See ActionsMixin.) """ template_name = 'generic/object_list.html' filterset = None diff --git a/netbox/netbox/views/generic/object_views.py b/netbox/netbox/views/generic/object_views.py index c775f12a0..90b6e9495 100644 --- a/netbox/netbox/views/generic/object_views.py +++ b/netbox/netbox/views/generic/object_views.py @@ -86,9 +86,8 @@ class ObjectChildrenView(ObjectView, ActionsMixin, TableMixin): child_model: The model class which represents the child objects table: The django-tables2 Table class used to render the child objects list 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 - be prefixed with `bulk_`. Default actions: add, import, export, bulk_edit, bulk_delete - action_perms: A dictionary mapping supported actions to a set of permissions required for each + actions: A mapping of supported actions to their required permissions. When adding custom actions, bulk + action names must be prefixed with `bulk_`. (See ActionsMixin.) """ child_model = None table = None