Permalink
Browse files

[1.5.x] Negligible style fix in docs.

Backport of 5c81e9d.
  • Loading branch information...
aaugustin committed Nov 23, 2012
1 parent 90c7aa0 commit a79e4521e5ff86e138c76bdacb582ba85a7e8d68
Showing with 1 addition and 1 deletion.
  1. +1 −1 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::

0 comments on commit a79e452

Please sign in to comment.