Ticket #1116: db-api.patch
File db-api.patch, 494 bytes (added by , 19 years ago) |
---|
-
docs/db-api.txt
312 312 the_place = meta.OneToOneField(places.Place) 313 313 314 314 In the above example, each ``Place`` will have a ``get_restaurant()`` method, 315 and each ``Restaurant`` will have a ``get_the place()`` method.315 and each ``Restaurant`` will have a ``get_the_place()`` method. 316 316 317 317 Many-to-one relations 318 318 ---------------------