Fixed typo in docs/topics/db/examples/one_to_one.txt

This commit is contained in:
Don Kirkby 2015-09-23 10:25:46 -07:00 committed by Tim Graham
parent d0ed01cef0
commit dcd7358afd
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ Set the place back again, using assignment in the reverse direction::
<Restaurant: Demon Dogs the restaurant> <Restaurant: Demon Dogs the restaurant>
Note that you must save an object before it can be assigned to a one-to-one 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``:: raises ``ValueError``::
>>> p3 = Place(name='Demon Dogs', address='944 W. Fullerton') >>> p3 = Place(name='Demon Dogs', address='944 W. Fullerton')