From f75af5b67bac58d6c6d043d5e9e14bd0908505dd Mon Sep 17 00:00:00 2001 From: Philipp Bosch Date: Mon, 18 Nov 2019 14:28:30 +0100 Subject: [PATCH] Corrected outdated sentence in One-to-one relationships docs. --- docs/topics/db/examples/one_to_one.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()