Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8730 closed (fixed)

Revive and enhance OneToOneField documentation

Reported by: Ramiro Morales Owned by: nobody
Component: Documentation Version: master
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: UI/UX:

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.

Attachments (1)

t8730-r8761.diff (6.2 KB) - added by Ramiro Morales 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Ramiro Morales

Attachment: t8730-r8761.diff added

comment:1 Changed 8 years ago by Ramiro Morales

Description: modified (diff)
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 8 years ago by James Bennett

Resolution: fixed
Status: newclosed

(In [8787]) Fixed #8730: Incorporated (with minor changes) additions/enhancements to one-to-one docs

comment:3 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top