From 5c81e9de0f0dfd5b8c105f53e9940845caca2788 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 23 Nov 2012 20:40:42 +0100 Subject: [PATCH] Negligible style fix in docs. --- docs/topics/db/queries.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index 321c8a42eb8..46fabbe5c62 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::