diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-11-23 20:40:42 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-11-23 20:41:08 +0100 |
| commit | a79e4521e5ff86e138c76bdacb582ba85a7e8d68 (patch) | |
| tree | 83e1c4d6f3dc044dd0c8e017bcc791cf13078c9f | |
| parent | 90c7aa074095311862b71f3b4ee7220369785375 (diff) | |
[1.5.x] Negligible style fix in docs.
Backport of 5c81e9d.
| -rw-r--r-- | docs/topics/db/queries.txt | 2 |
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:: |
