diff options
| author | Karen Tracey <kmtracey@caktusgroup.com> | 2012-08-24 04:28:43 -0700 |
|---|---|---|
| committer | Karen Tracey <kmtracey@caktusgroup.com> | 2012-08-24 04:28:43 -0700 |
| commit | 14924ea96bb377fb128e572e11d77a48fe58b50a (patch) | |
| tree | b4ab43ff185f98f42a066f7092e982b9444b8bce /docs | |
| parent | 6786b38ace99dfa4db4f70d32249450771c3fa0f (diff) | |
| parent | f200ffd701468bbb983854749bee8a5ced96499c (diff) | |
Merge pull request #301 from carlospalol/quickfix/blog-post-typo
Fixed typo in docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/queries.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index b4d4eb1062..60437c1120 100644 --- a/docs/topics/db/queries.txt +++ b/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``:: |
