Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed typo in docs

  • Loading branch information...
commit f200ffd701468bbb983854749bee8a5ced96499c 1 parent 10d3207
Carlos Palol authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/db/queries.txt
4  docs/topics/db/queries.txt
@@ -900,10 +900,10 @@ possible to easily create new instance with all fields' values copied. In the
900 900
 simplest case, you can just set ``pk`` to ``None``. Using our blog example::
901 901
 
902 902
     blog = Blog(name='My blog', tagline='Blogging is easy')
903  
-    blog.save() # post.pk == 1
  903
+    blog.save() # blog.pk == 1
904 904
 
905 905
     blog.pk = None
906  
-    blog.save() # post.pk == 2
  906
+    blog.save() # blog.pk == 2
907 907
 
908 908
 Things get more complicated if you use inheritance. Consider a subclass of
909 909
 ``Blog``::

0 notes on commit f200ffd

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