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

Fixed typo in docs
This commit is contained in:
Karen Tracey 2012-08-24 04:28:43 -07:00
commit 14924ea96b
1 changed files with 2 additions and 2 deletions

View File

@ -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``::