Opened 15 years ago

Closed 15 years ago

Last modified 12 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: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 15 years ago.
10981-string_model_names_notes.2.diff (2.5 KB ) - added by Ramiro Morales 15 years ago.
New corrected and sllightly enhanced iteration

Download all attachments as: .zip

Change History (9)

comment:1 by Ramiro Morales, 15 years ago

Has patch: set

by Ramiro Morales, 15 years ago

by Ramiro Morales, 15 years ago

New corrected and sllightly enhanced iteration

comment:2 by Ramiro Morales, 15 years ago

milestone: 1.1
Owner: changed from nobody to Ramiro Morales

Moving to list of documentation tickets to be considered for 1.1

comment:3 by Jacob, 15 years ago

Owner: changed from Ramiro Morales to Jacob
Status: newassigned

comment:4 by Jacob, 15 years ago

Triage Stage: UnreviewedAccepted

comment:5 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: assignedclosed

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

comment:6 by Russell Keith-Magee, 15 years ago

(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 by Jacob, 12 years ago

milestone: 1.1

Milestone 1.1 deleted

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