summaryrefslogtreecommitdiff
path: root/docs/topics/db
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-12-14 22:19:00 -0800
committerGitHub <noreply@github.com>2020-12-15 07:19:00 +0100
commit550297d20d085bc5a440d905cd3cb2e286588ca8 (patch)
tree7eb34c606850541d1296456eea8ef5c250eed165 /docs/topics/db
parent593829a5aba605481a66c7c87e0e45061ee08bb5 (diff)
Added backticks to code literals in various docs.
Diffstat (limited to 'docs/topics/db')
-rw-r--r--docs/topics/db/queries.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index c92b8b0944..c3b7948caa 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -1254,7 +1254,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