Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#10981 closed (fixed)

Notes about using string for relationship target model name slightly unclear

Reported by: Ramiro Morales Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The section that describes usage of string of ForeingKeys (and that is linked from the ManyToManyField and OneToOneField sections when describing similar features) isn't completely clear about if the 'other_app.model_name' notation is supported or not. Attached patch tries to solve this and adds a description of the supported scenario with an example, also marking it with 'versionchanged:: 1.0'.

Found while trying to understand #10405, see django-dev thread: http://groups.google.com/group/django-developers/browse_frm/thread/3c38afb3355ecda6/2e533858fd1a64c6?hl=en&tvc=1#2e533858fd1a64c6

Attachments (2)

10981-string_model_names_notes.diff (2.2 KB) - added by Ramiro Morales 7 years ago.
10981-string_model_names_notes.2.diff (2.5 KB) - added by Ramiro Morales 7 years ago.
New corrected and sllightly enhanced iteration

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by Ramiro Morales

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Changed 7 years ago by Ramiro Morales

Changed 7 years ago by Ramiro Morales

New corrected and sllightly enhanced iteration

comment:2 Changed 7 years ago by Ramiro Morales

milestone: 1.1
Owner: changed from nobody to Ramiro Morales

Moving to list of documentation tickets to be considered for 1.1

comment:3 Changed 7 years ago by Jacob

Owner: changed from Ramiro Morales to Jacob
Status: newassigned

comment:4 Changed 7 years ago by Jacob

Triage Stage: UnreviewedAccepted

comment:5 Changed 7 years ago by Russell Keith-Magee

Resolution: fixed
Status: assignedclosed

(In [10971]) Fixed #10981 -- Clarified documentation regarding lazy cross-application relationships. Thanks to Ramiro for the suggestion.

comment:6 Changed 7 years ago by Russell Keith-Magee

(In [10974]) [1.0.X] Fixed #10981 -- Clarified documentation regarding lazy cross-application relationships. Thanks to Ramiro for the suggestion.

Merge of r10971 from trunk.

comment:7 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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