diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2021-06-03 01:49:50 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-06-03 07:50:31 +0200 |
| commit | f07d6869748f1c93d8dcd0dd058c4e3661f498ed (patch) | |
| tree | 6ea93108a52d76bb4765359767076d7752aaee9b /docs | |
| parent | 0b5a66b0d9d5fe83bf4ed191f1c7d46e8fc1185e (diff) | |
[3.2.x] Fixed typos in docs.
Backport of f0d0d29f03448ba4f9cfef03f0605cc7e557c2c4 from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/contributing/writing-code/coding-style.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt index 20572ad636..6d0a9c27b7 100644 --- a/docs/internals/contributing/writing-code/coding-style.txt +++ b/docs/internals/contributing/writing-code/coding-style.txt @@ -12,7 +12,7 @@ Pre-commit checks `pre-commit <https://pre-commit.com>`_ is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for review. By checking for these issues before code review it allows the reviewer -to focus on the change itself, and it can also help to reduce the number CI +to focus on the change itself, and it can also help to reduce the number of CI runs. To use the tool, first install ``pre-commit`` and then the git hooks: diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index f23cc6c696..074529a64a 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2263,7 +2263,7 @@ Adding custom validation to the admin You can also add custom validation of data in the admin. The automatic admin interface reuses :mod:`django.forms`, and the ``ModelAdmin`` class gives you -the ability define your own form:: +the ability to define your own form:: class ArticleAdmin(admin.ModelAdmin): form = MyArticleAdminForm |
