mirror of
https://github.com/django/django.git
synced 2025-07-19 09:09:13 +00:00
[1.9.x] Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example.
Backport of 6ae617dc57149216d264d3596cdb10a72dad1bca from master
This commit is contained in:
parent
669b8e3d8f
commit
219fc1f726
@ -147,7 +147,6 @@ This of course works in reverse::
|
|||||||
Add a Waiter to the Restaurant::
|
Add a Waiter to the Restaurant::
|
||||||
|
|
||||||
>>> w = r.waiter_set.create(name='Joe')
|
>>> w = r.waiter_set.create(name='Joe')
|
||||||
>>> w.save()
|
|
||||||
>>> w
|
>>> w
|
||||||
<Waiter: Joe the waiter at Demon Dogs the restaurant>
|
<Waiter: Joe the waiter at Demon Dogs the restaurant>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user