[Django] #29910: Fix ManyToManyFields with Proxy models

9 views
Skip to first unread message

Django

unread,
Oct 31, 2018, 4:19:43 PM10/31/18
to django-...@googlegroups.com
#29910: Fix ManyToManyFields with Proxy models
-------------------------------------+-------------------------------------
Reporter: Collin | Owner: nobody
Anderson |
Type: Bug | Status: new
Component: Database | Version: 2.1
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
I'm running into an issue with using ManyToManyFields and Proxy models.
Basically the through models references Proxy classes of the original
model.

https://github.com/django/django/pull/10591

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

Django

unread,
Oct 31, 2018, 7:01:41 PM10/31/18
to django-...@googlegroups.com
#29910: ManyToManyFields that target proxy models don't return the correct model
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1
* stage: Unreviewed => Accepted


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

Django

unread,
Jan 10, 2019, 5:47:29 AM1/10/19
to django-...@googlegroups.com
#29910: ManyToManyFields that target proxy models don't return the correct model
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new

Component: Database layer | Version: 2.1
(models, ORM) |
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 Asif Saifuddin Auvi):

* needs_better_patch: 1 => 0


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

Django

unread,
Jan 10, 2019, 9:01:16 AM1/10/19
to django-...@googlegroups.com
#29910: ManyToManyFields that target proxy models don't return the correct model
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new

Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1


Comment:

My comment requesting more carefully targeted tests isn't addressed.

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

Django

unread,
Jan 10, 2019, 1:54:10 PM1/10/19
to django-...@googlegroups.com
#29910: ManyToManyFields that target proxy models don't return the correct model
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new

Component: Database layer | Version: 2.1
(models, ORM) |
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 Collin Anderson):

* needs_better_patch: 1 => 0


Comment:

Ok, I just added some tests.

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

Django

unread,
Jan 12, 2019, 2:08:51 PM1/12/19
to django-...@googlegroups.com
#29910: Allow ManyToManyFields that target proxy models with a through table.

-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new

Component: Database layer | Version: 2.1
(models, ORM) |
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
-------------------------------------+-------------------------------------

Old description:

> I'm running into an issue with using ManyToManyFields and Proxy models.
> Basically the through models references Proxy classes of the original
> model.
>
> https://github.com/django/django/pull/10591

New description:

I'm running into an issue with using ManyToManyFields and Proxy models

when the through models reference Proxy classes of the original model.

https://github.com/django/django/pull/10591

--

Comment (by Collin Anderson):

Clarify title/description a little.

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

Django

unread,
Feb 14, 2019, 6:16:43 PM2/14/19
to django-...@googlegroups.com
#29910: Allow ManyToManyFields that target proxy models with a through table.
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: nobody
Type: Bug | Status: new

Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/29910#comment:6>

Django

unread,
Jun 25, 2024, 12:28:28 PM (4 days ago) Jun 25
to django-...@googlegroups.com
#29910: Allow ManyToManyFields that target proxy models with a through table.
-------------------------------------+-------------------------------------
Reporter: Collin Anderson | Owner: wookkl
Type: Bug | Status: assigned
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by wookkl):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/29910#comment:7>
Reply all
Reply to author
Forward
0 new messages