瀏覽代碼

Fixed typos in docs.

Jacob Walls 3 年之前
父節點
當前提交
f0d0d29f03
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/internals/contributing/writing-code/coding-style.txt
  2. 1 1
      docs/ref/contrib/admin/index.txt

+ 1 - 1
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
 `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
 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
 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.
 runs.
 
 
 To use the tool, first install ``pre-commit`` and then the git hooks:
 To use the tool, first install ``pre-commit`` and then the git hooks:

+ 1 - 1
docs/ref/contrib/admin/index.txt

@@ -2272,7 +2272,7 @@ Adding custom validation to the admin
 
 
 You can also add custom validation of data in the admin. The automatic 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
 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):
     class ArticleAdmin(admin.ModelAdmin):
         form = MyArticleAdminForm
         form = MyArticleAdminForm