Commit f200ffd7 authored by Carlos Palol's avatar Carlos Palol
Browse files

Fixed typo in docs

parent 10d32072
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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``::