Skip to content

Commit

Permalink
[2.2.x] Fixed typo in docs/ref/models/instances.txt.
Browse files Browse the repository at this point in the history
Backport of 516d858 from master
  • Loading branch information
garyd203 authored and felixxm committed Apr 16, 2019
1 parent 5289d4f commit 0ba78c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/models/instances.txt
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ primary key — then that auto-incremented value will be calculated and saved as
an attribute on your object the first time you call ``save()``::

>>> b2 = Blog(name='Cheddar Talk', tagline='Thoughts on cheese.')
>>> b2.id # Returns None, because b doesn't have an ID yet.
>>> b2.id # Returns None, because b2 doesn't have an ID yet.
>>> b2.save()
>>> b2.id # Returns the ID of your new object.

Expand Down

0 comments on commit 0ba78c3

Please sign in to comment.