mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 09:28:38 -06:00
Strip 'param' indicators from docstrings
This commit is contained in:
parent
91362b0f82
commit
af8e1a6472
@ -122,7 +122,7 @@ class ObjectView(ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Retrieve a single object for display.
|
Retrieve a single object for display.
|
||||||
|
|
||||||
:param queryset: The base queryset for retrieving the object.
|
queryset: The base queryset for retrieving the object.
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
|
|
||||||
@ -134,11 +134,11 @@ class ObjectListView(ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
List a series of objects.
|
List a series of objects.
|
||||||
|
|
||||||
:param queryset: The queryset of objects to display
|
queryset: The queryset of objects to display
|
||||||
:param filter: A django-filter FilterSet that is applied to the queryset
|
filter: A django-filter FilterSet that is applied to the queryset
|
||||||
:param filter_form: The form used to render filter options
|
filter_form: The form used to render filter options
|
||||||
:param table: The django-tables2 Table used to render the objects list
|
table: The django-tables2 Table used to render the objects list
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
filterset = None
|
filterset = None
|
||||||
@ -294,9 +294,9 @@ class ObjectEditView(GetReturnURLMixin, ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Create or edit a single object.
|
Create or edit a single object.
|
||||||
|
|
||||||
:param queryset: The base queryset for the object being modified
|
queryset: The base queryset for the object being modified
|
||||||
:param model_form: The form used to create or edit the object
|
model_form: The form used to create or edit the object
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
model_form = None
|
model_form = None
|
||||||
@ -405,8 +405,8 @@ class ObjectDeleteView(GetReturnURLMixin, ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Delete a single object.
|
Delete a single object.
|
||||||
|
|
||||||
:param queryset: The base queryset for the object being deleted
|
queryset: The base queryset for the object being deleted
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
template_name = 'utilities/obj_delete.html'
|
template_name = 'utilities/obj_delete.html'
|
||||||
@ -472,11 +472,11 @@ class BulkCreateView(GetReturnURLMixin, ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Create new objects in bulk.
|
Create new objects in bulk.
|
||||||
|
|
||||||
:param queryset: Base queryset for the objects being created
|
queryset: Base queryset for the objects being created
|
||||||
:param form: Form class which provides the `pattern` field
|
form: Form class which provides the `pattern` field
|
||||||
:param model_form: The ModelForm used to create individual objects
|
model_form: The ModelForm used to create individual objects
|
||||||
:param pattern_target: Name of the field to be evaluated as a pattern (if any)
|
pattern_target: Name of the field to be evaluated as a pattern (if any)
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
form = None
|
form = None
|
||||||
@ -682,11 +682,11 @@ class BulkImportView(GetReturnURLMixin, ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Import objects in bulk (CSV format).
|
Import objects in bulk (CSV format).
|
||||||
|
|
||||||
:param queryset: Base queryset for the model
|
queryset: Base queryset for the model
|
||||||
:param model_form: The form used to create each imported object
|
model_form: The form used to create each imported object
|
||||||
:param table: The django-tables2 Table used to render the list of imported objects
|
table: The django-tables2 Table used to render the list of imported objects
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
:param widget_attrs: A dict of attributes to apply to the import widget (e.g. to require a session key)
|
widget_attrs: A dict of attributes to apply to the import widget (e.g. to require a session key)
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
model_form = None
|
model_form = None
|
||||||
@ -785,11 +785,11 @@ class BulkEditView(GetReturnURLMixin, ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Edit objects in bulk.
|
Edit objects in bulk.
|
||||||
|
|
||||||
:param queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
|
queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
|
||||||
:param filter: FilterSet to apply when deleting by QuerySet
|
filter: FilterSet to apply when deleting by QuerySet
|
||||||
:param table: The table used to display devices being edited
|
table: The table used to display devices being edited
|
||||||
:param form: The form class used to edit objects in bulk
|
form: The form class used to edit objects in bulk
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
filterset = None
|
filterset = None
|
||||||
@ -941,11 +941,11 @@ class BulkDeleteView(GetReturnURLMixin, ObjectPermissionRequiredMixin, View):
|
|||||||
"""
|
"""
|
||||||
Delete objects in bulk.
|
Delete objects in bulk.
|
||||||
|
|
||||||
:param queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
|
queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
|
||||||
:param filter: FilterSet to apply when deleting by QuerySet
|
filter: FilterSet to apply when deleting by QuerySet
|
||||||
:param table: The table used to display devices being deleted
|
table: The table used to display devices being deleted
|
||||||
:param form: The form class used to delete objects in bulk
|
form: The form class used to delete objects in bulk
|
||||||
:param template_name: The name of the template
|
template_name: The name of the template
|
||||||
"""
|
"""
|
||||||
queryset = None
|
queryset = None
|
||||||
filterset = None
|
filterset = None
|
||||||
|
Loading…
Reference in New Issue
Block a user