Procházet zdrojové kódy

Corrected outdated sentence in One-to-one relationships docs.

Philipp Bosch před 5 roky
rodič
revize
f75af5b67b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      docs/topics/db/examples/one_to_one.txt

+ 1 - 1
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()