summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPhilipp Bosch <hello@pb.io>2019-11-18 14:28:30 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-03-17 11:08:55 +0100
commit725d7c2a7cfa687a1f052026f4404eba220e3a8e (patch)
treebf29fb45596d2db999c22721d1debe4fb1ea257e /docs
parentc5ac3ab056b323ecf6c38b1d5513b2c4aec14c8e (diff)
[3.0.x] Corrected outdated sentence in One-to-one relationships docs.
Backport of f75af5b67bac58d6c6d043d5e9e14bd0908505dd from master
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/examples/one_to_one.txt2
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 e400a9ff8a..636b6ab91f 100644
--- a/docs/topics/db/examples/one_to_one.txt
+++ b/docs/topics/db/examples/one_to_one.txt
@@ -47,7 +47,7 @@ Create a couple of Places::
>>> p2 = Place(name='Ace Hardware', address='1013 N. Ashland')
>>> p2.save()
-Create a Restaurant. Pass the ID of the "parent" object as this object's ID::
+Create a Restaurant. Pass the "parent" object as this object's primary key::
>>> r = Restaurant(place=p1, serves_hot_dogs=True, serves_pizza=False)
>>> r.save()