Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#8730 closed (fixed)

Revive and enhance OneToOneField documentation

Reported by: ramiro 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)

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 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by ramiro

comment:1 Changed 6 years ago by ramiro

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

comment:2 Changed 6 years ago by ubernostrum

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.