diff options
| author | Don Kirkby <donkirkby@users.noreply.github.com> | 2015-09-23 10:25:46 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-23 13:31:14 -0400 |
| commit | dcd7358afd7985c3803cd8ef2a189ca39aaa9603 (patch) | |
| tree | a236d292a4b55ed67c3e6d39d454f8517e4810aa | |
| parent | d0ed01cef0c5ebb7ea9a1fb36de823aa01428600 (diff) | |
Fixed typo in docs/topics/db/examples/one_to_one.txt
| -rw-r--r-- | docs/topics/db/examples/one_to_one.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/examples/one_to_one.txt b/docs/topics/db/examples/one_to_one.txt index 97c5b5c4b1..8eb003b167 100644 --- a/docs/topics/db/examples/one_to_one.txt +++ b/docs/topics/db/examples/one_to_one.txt @@ -92,7 +92,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') |
