diff options
Diffstat (limited to 'docs/topics/db/examples')
| -rw-r--r-- | docs/topics/db/examples/one_to_one.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/db/examples/one_to_one.txt b/docs/topics/db/examples/one_to_one.txt index 7588825a02..e400a9ff8a 100644 --- a/docs/topics/db/examples/one_to_one.txt +++ b/docs/topics/db/examples/one_to_one.txt @@ -102,9 +102,9 @@ raises ``ValueError``:: ... ValueError: save() prohibited to prevent data loss due to unsaved related object 'place'. -Restaurant.objects.all() just returns the Restaurants, not the Places. Note -that there are two restaurants - Ace Hardware the Restaurant was created in the -call to r.place = p2:: +Restaurant.objects.all() returns the Restaurants, not the Places. Note that +there are two restaurants - Ace Hardware the Restaurant was created in the call +to r.place = p2:: >>> Restaurant.objects.all() <QuerySet [<Restaurant: Demon Dogs the restaurant>, <Restaurant: Ace Hardware the restaurant>]> |
