#36197: `Model.relatedmanager.count()` fails for custom ManyToMany relationships
with `through` definition
-------------------------------------+-------------------------------------
Reporter: mfontana-elem | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: 5.1
(models, ORM) |
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
-------------------------------------+-------------------------------------
Changes (by mfontana-elem):
* summary:
`Model.relatedmanager.count()` fails for custom ManyToMany
relationships which don't use `id`
=>
`Model.relatedmanager.count()` fails for custom ManyToMany
relationships with `through` definition
--
Ticket URL: <
https://code.djangoproject.com/ticket/36197#comment:1>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.