Ticket #1116: db-api.patch

File db-api.patch, 494 bytes (added by Cheng <czhang.cmu+web@…>, 19 years ago)
  • docs/db-api.txt

     
    312312        the_place = meta.OneToOneField(places.Place)
    313313
    314314In the above example, each ``Place`` will have a ``get_restaurant()`` method,
    315 and each ``Restaurant`` will have a ``get_theplace()`` method.
     315and each ``Restaurant`` will have a ``get_the_place()`` method.
    316316
    317317Many-to-one relations
    318318---------------------
Back to Top