Преглед на файлове

Fixed #26595 -- Removed unnecessary save() in one_to_one.txt example.

shiblystory преди 9 години
родител
ревизия
6ae617dc57
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      docs/topics/db/examples/one_to_one.txt

+ 0 - 1
docs/topics/db/examples/one_to_one.txt

@@ -140,7 +140,6 @@ This of course works in reverse::
 Add a Waiter to the Restaurant::
 
     >>> w = r.waiter_set.create(name='Joe')
-    >>> w.save()
     >>> w
     <Waiter: Joe the waiter at Demon Dogs the restaurant>