diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-12-14 22:19:00 -0800 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-12-15 07:21:53 +0100 |
| commit | 5d41fd22dc68161e28aea5aabc4097c039338212 (patch) | |
| tree | 52f096018d1619be24491fc3ce6da4bf025ec7d7 /docs/topics | |
| parent | 092a25dcf2303c781a91a2f265f8c329ab929910 (diff) | |
[3.1.x] Added backticks to code literals in various docs.
Backport of 550297d20d085bc5a440d905cd3cb2e286588ca8 from master
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/checks.txt | 6 | ||||
| -rw-r--r-- | docs/topics/db/queries.txt | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/topics/checks.txt b/docs/topics/checks.txt index f4cea90447..438139ad31 100644 --- a/docs/topics/checks.txt +++ b/docs/topics/checks.txt @@ -47,9 +47,9 @@ check function:: return errors The check function *must* accept an ``app_configs`` argument; this argument is -the list of applications that should be inspected. If None, the check must be -run on *all* installed apps in the project. The ``**kwargs`` argument is required -for future expansion. +the list of applications that should be inspected. If ``None``, the check must +be run on *all* installed apps in the project. The ``**kwargs`` argument is +required for future expansion. Messages -------- diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index d39e119109..4bacb72ecd 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -1224,7 +1224,8 @@ Things get more complicated if you use inheritance. Consider a subclass of django_blog = ThemeBlog(name='Django', tagline='Django is easy', theme='python') django_blog.save() # django_blog.pk == 3 -Due to how inheritance works, you have to set both ``pk`` and ``id`` to None:: +Due to how inheritance works, you have to set both ``pk`` and ``id`` to +``None``:: django_blog.pk = None django_blog.id = None |
