Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #301 from carlospalol/quickfix/blog-post-typo

Fixed typo in docs
  • Loading branch information...
commit 14924ea96bb377fb128e572e11d77a48fe58b50a 2 parents 6786b38 + f200ffd
@kmtracey kmtracey authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/db/queries.txt
View
4 docs/topics/db/queries.txt
@@ -900,10 +900,10 @@ possible to easily create new instance with all fields' values copied. In the
simplest case, you can just set ``pk`` to ``None``. Using our blog example::
blog = Blog(name='My blog', tagline='Blogging is easy')
- blog.save() # post.pk == 1
+ blog.save() # blog.pk == 1
blog.pk = None
- blog.save() # post.pk == 2
+ blog.save() # blog.pk == 2
Things get more complicated if you use inheritance. Consider a subclass of
``Blog``::

0 comments on commit 14924ea

Please sign in to comment.
Something went wrong with that request. Please try again.