Opened 16 years ago

Last modified 13 years ago

#8730 closed

Revive and enhance OneToOneField documentation — at Version 1

Reported by: Ramiro Morales Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: one-to-one onetoonefield parent_link
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramiro Morales)

A follow-up to [8757]:

  • topics/db/models.txt:
    • Replace OneToOneField section content with a general description copied from pre-docs-rf model-api.txt, with links to the modeltests model example and the field options reference.
    • Fixes some section heading levels.
  • topics/db/queries.txt:
    • Replace the last remaining occurrence of the "The semantics of one-to-one relationships will be changing soon, so we don't recommend you use them." warnings with content moved from topics/db/models.txt, it seems a better place for it because it is an example using the Blog-Author-Entry theme used in this document.
  • ref/models/fields.txt (OneToOneField):
    • Fixes formatting in the field reference so the parent_link option description is rendered.

Change History (2)

by Ramiro Morales, 16 years ago

Attachment: t8730-r8761.diff added

comment:1 by Ramiro Morales, 16 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top