[Django] #28003: MTI inheritance docs should describe what the automatically generated o2o looks like

29 views
Skip to first unread message

Django

unread,
Mar 31, 2017, 2:46:35 PM3/31/17
to django-...@googlegroups.com
#28003: MTI inheritance docs should describe what the automatically generated o2o
looks like
-------------------------------------+-------------------------------------
Reporter: Simon | Owner: Simon Charette
Charette |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: master
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Providing an example of what the automatically generated `OneToOneField`
field looks like could help understand the usage of `parent_link` and the
implications of using MTI.

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

Django

unread,
Mar 31, 2017, 3:04:21 PM3/31/17
to django-...@googlegroups.com
#28003: MTI inheritance docs should describe what the automatically generated o2o
looks like
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

[https://github.com/django/django/pull/8275 PR]

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

Django

unread,
Mar 31, 2017, 3:04:29 PM3/31/17
to django-...@googlegroups.com
#28003: MTI inheritance docs should describe what the automatically generated o2o
looks like
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* has_patch: 0 => 1


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

Django

unread,
Mar 31, 2017, 6:07:39 PM3/31/17
to django-...@googlegroups.com
#28003: MTI inheritance docs should describe what the automatically generated o2o
looks like
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted


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

Django

unread,
Apr 1, 2017, 9:21:24 PM4/1/17
to django-...@googlegroups.com
#28003: MTI inheritance docs should describe what the automatically generated o2o
looks like
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"0ad7e8f71fbf75def0e48ef59adc2d56a6244b38" 0ad7e8f7]:
{{{
#!CommitTicketReference repository=""
revision="0ad7e8f71fbf75def0e48ef59adc2d56a6244b38"
Fixed #28003 -- Doc'd what an auto-created OneToOneField parent_link looks
like.

Thanks Simon Charette for the draft patch.
}}}

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

Django

unread,
Apr 1, 2017, 9:23:55 PM4/1/17
to django-...@googlegroups.com
#28003: MTI inheritance docs should describe what the automatically generated o2o
looks like
-------------------------------------+-------------------------------------
Reporter: Simon Charette | Owner: Simon
Type: | Charette
Cleanup/optimization | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"f0bf4bd79cf40131ef591d6e8f01ce48c9454da5" f0bf4bd7]:
{{{
#!CommitTicketReference repository=""
revision="f0bf4bd79cf40131ef591d6e8f01ce48c9454da5"
[1.11.x] Fixed #28003 -- Doc'd what an auto-created OneToOneField
parent_link looks like.

Backport of 0ad7e8f71fbf75def0e48ef59adc2d56a6244b38 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28003#comment:5>

Reply all
Reply to author
Forward
0 new messages