Browse Source

Documentation - Minor punctuation and capitalisation fixes (#9508)

Marvis Chukwudi 2 years ago
parent
commit
b9a5f9e333
2 changed files with 3 additions and 2 deletions
  1. 1 0
      CONTRIBUTORS.rst
  2. 2 2
      docs/extending/custom_bulk_actions.md

+ 1 - 0
CONTRIBUTORS.rst

@@ -655,6 +655,7 @@ Contributors
 * Harry Percival
 * Akua Dokua Asiedu
 * Chisom Okeoma
+* Marvis Chukwudi
 
 Translators
 ===========

+ 2 - 2
docs/extending/custom_bulk_actions.md

@@ -30,7 +30,7 @@ The attributes are as follows:
 
 -   `display_name` - The label that will be displayed on the button in the user interface
 -   `aria_label` - The `aria-label` attribute that will be applied to the button in the user interface
--   `action_type` - A unique identifier for the action. Will be required in the url for bulk actions
+-   `action_type` - A unique identifier for the action (required in the URL for bulk actions)
 -   `template_name` - The path to the confirmation template
 -   `models` - A list of models on which the bulk action can act
 -   `action_priority` (optional) - A number that is used to determine the placement of the button in the list of buttons
@@ -129,7 +129,7 @@ def get_context_data(self, **kwargs):
     return context
 ```
 
-Thes `check_perm` method can be overridden to check if an object has some permission or not. objects for which the `check_perm` returns `False` will be available in the context under the key `'items_with_no_access'`.
+Thes `check_perm` method can be overridden to check if an object has some permission or not. Objects for which the `check_perm` returns `False` will be available in the context under the key `'items_with_no_access'`.
 
 ```python
 def check_perm(self, obj):