Opened 22 months ago

Last modified 18 months ago

#29910 new Bug

Allow ManyToManyFields that target proxy models with a through table.

Reported by: Collin Anderson Owned by: nobody
Component: Database layer (models, ORM) Version: 2.1
Severity: Normal Keywords:
Cc: cmawebsite@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Collin Anderson)

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

Change History (6)

comment:1 Changed 22 months ago by Tim Graham

Patch needs improvement: set
Summary: Fix ManyToManyFields with Proxy modelsManyToManyFields that target proxy models don't return the correct model
Triage Stage: UnreviewedAccepted

comment:2 Changed 19 months ago by Asif Saifuddin Auvi

Patch needs improvement: unset

comment:3 Changed 19 months ago by Tim Graham

Patch needs improvement: set

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

comment:4 Changed 19 months ago by Collin Anderson

Patch needs improvement: unset

Ok, I just added some tests.

comment:5 Changed 19 months ago by Collin Anderson

Description: modified (diff)
Summary: ManyToManyFields that target proxy models don't return the correct modelAllow ManyToManyFields that target proxy models with a through table.

Clarify title/description a little.

comment:6 Changed 18 months ago by Tim Graham

Patch needs improvement: set
Note: See TracTickets for help on using tickets.
Back to Top