Commit 1386a823 authored by Don Kirkby's avatar Don Kirkby Committed by Tim Graham
Browse files

[1.8.x] Fixed typo in docs/topics/db/examples/one_to_one.txt

Backport of dcd7358a from master
parent 4a06a904
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ Set the place back again, using assignment in the reverse direction::
    <Restaurant: Demon Dogs the restaurant>

Note that you must save an object before it can be assigned to a one-to-one
relationship. For example, creating an ``Restaurant`` with unsaved ``Place``
relationship. For example, creating a ``Restaurant`` with unsaved ``Place``
raises ``ValueError``::

    >>> p3 = Place(name='Demon Dogs', address='944 W. Fullerton')