[Django] #23281: Add explicit link into OneToOneField.parent_link

11 views
Skip to first unread message

Django

unread,
Aug 13, 2014, 6:16:43 AM8/13/14
to django-...@googlegroups.com
#23281: Add explicit link into OneToOneField.parent_link
-------------------------------------+--------------------
Reporter: knowledgepoint-devs | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+--------------------
Documentation for OneToOneField.parent_link in Django 1.6
(https://docs.djangoproject.com/en/1.6/ref/models/fields/#django.db.models.OneToOneField.parent_link)
says this field is relevant for a "model which inherits from another
(concrete) model". This is rather ambiguous to users not familiar with
multi-table inheritance, so I suggest adding a link from there to
https://docs.djangoproject.com/en/1.6/topics/db/models/#multi-table-
inheritance.

--
Ticket URL: <https://code.djangoproject.com/ticket/23281>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 13, 2014, 6:22:06 AM8/13/14
to django-...@googlegroups.com
#23281: Add explicit link into OneToOneField.parent_link
--------------------------------------+------------------------------------
Reporter: knowledgepoint-devs | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.6
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by bmispelon):

* needs_docs: => 0
* needs_better_patch: => 0
* type: Uncategorized => Cleanup/optimization
* needs_tests: => 0
* stage: Unreviewed => Accepted


Comment:

Hi,

Yes, I agree that this could be off-putting.
However, I don't know if just adding a link would be sufficient, since the
term "concrete" doesn't appear on the linked page either.

How about mentionning in passing that non-abstract models are also
sometimes called concrete?

Thanks.

--
Ticket URL: <https://code.djangoproject.com/ticket/23281#comment:1>

Django

unread,
Sep 3, 2014, 4:53:52 PM9/3/14
to django-...@googlegroups.com
#23281: Add explicit link into OneToOneField.parent_link
--------------------------------------+------------------------------------
Reporter: knowledgepoint-devs | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.6
Severity: Normal | Resolution:
Keywords: afraid-to-commit | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by evildmp):

* keywords: => afraid-to-commit


Comment:

I've marked this ticket as especially suitable for people following the
​'''Don't be afraid to commit tutorial''' at the DjangoCon US 2014
sprints.

If you're tackling this ticket, please don't hesitate to ask me for
guidance if you'd like any, either at the sprints themselves, or here or
on the Django IRC channels, where I can be found as ''EvilDMP''.

--
Ticket URL: <https://code.djangoproject.com/ticket/23281#comment:2>

Django

unread,
Sep 6, 2014, 2:40:08 PM9/6/14
to django-...@googlegroups.com
#23281: Add explicit link into OneToOneField.parent_link
--------------------------------------+------------------------------------
Reporter: knowledgepoint-devs | Owner: oromero
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.6

Severity: Normal | Resolution:
Keywords: afraid-to-commit | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by oromero):

* status: new => assigned
* owner: nobody => oromero


--
Ticket URL: <https://code.djangoproject.com/ticket/23281#comment:3>

Django

unread,
Sep 8, 2014, 8:46:15 AM9/8/14
to django-...@googlegroups.com
#23281: Add explicit link into OneToOneField.parent_link
--------------------------------------+------------------------------------
Reporter: knowledgepoint-devs | Owner: oromero
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.6
Severity: Normal | Resolution: fixed

Keywords: afraid-to-commit | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"60c38c1a4e482ef86465c9ac40e0b47af175ffa7"]:
{{{
#!CommitTicketReference repository=""
revision="60c38c1a4e482ef86465c9ac40e0b47af175ffa7"
Fixed #23281 -- Added "concrete model" to glossary.

Thanks knowledgepoint-devs for the suggestion.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23281#comment:4>

Reply all
Reply to author
Forward
0 new messages