diff options
| author | Gary Donovan <garyd203@users.noreply.github.com> | 2019-04-16 16:26:11 +1000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-16 08:27:05 +0200 |
| commit | 0ba78c39893338685b469c2884fbf26a4b9f857a (patch) | |
| tree | ccc51ac9410a92bfe326376623c56ac29eb95542 /docs/ref/models | |
| parent | 5289d4faec5ddc7592c719825914fe430003f724 (diff) | |
[2.2.x] Fixed typo in docs/ref/models/instances.txt.
Backport of 516d858e7a3d01443cdc4e1eb4532b9d910f5e2b from master
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/instances.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt index 0559b32765..3119527c3b 100644 --- a/docs/ref/models/instances.txt +++ b/docs/ref/models/instances.txt @@ -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. |
