summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-11-23 20:40:42 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-11-23 20:40:42 +0100
commit5c81e9de0f0dfd5b8c105f53e9940845caca2788 (patch)
tree51267df50c63be0aa5dc12af6ecb3aedf4c3dfe4 /docs
parent90b86291d022a09031d1df397d7aaebc30e435f7 (diff)
Negligible style fix in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/queries.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index 321c8a42eb..46fabbe5c6 100644
--- a/docs/topics/db/queries.txt
+++ b/docs/topics/db/queries.txt
@@ -920,7 +920,7 @@ Things get more complicated if you use inheritance. Consider a subclass of
class ThemeBlog(Blog):
theme = models.CharField(max_length=200)
- django_blog = ThemeBlog(name='Django', tagline='Django is easy', theme = 'python')
+ 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::