diff options
| author | Carlos Palol <carlos.palol@awarepixel.com> | 2012-08-23 16:46:38 +0200 |
|---|---|---|
| committer | Carlos Palol <carlos.palol@awarepixel.com> | 2012-08-23 16:46:38 +0200 |
| commit | f200ffd701468bbb983854749bee8a5ced96499c (patch) | |
| tree | ff7f22de495fae143ad3eca3a559201748bcf7bd /docs | |
| parent | 10d32072afa1e1d4391108191800ce7007a63f2e (diff) | |
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``:: |
