Fixed typos in docs.

This commit is contained in:
Jacob Walls 2021-06-03 01:49:50 -04:00 committed by GitHub
parent 1b4d1675b2
commit f0d0d29f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -2272,7 +2272,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