Documentation: M2M through attribute is underspecified
The documentation says that the automatically created through attribute has fields named <containing_model>_id and <other_model>_id.
That can't be true when it is a M2M to self, since containing_model and other_model are the same. A quick test shows that the fields in that case are named from_<model>_id and to_<model>_id. The documentation should cover this case.
Change History
(10)
| Triage Stage: |
Unreviewed → Accepted
|
| Type: |
Bug → Cleanup/optimization
|
| Keywords: |
afraid-to-commit added
|
| Owner: |
changed from nobody to Oxylo
|
| Status: |
new → assigned
|
| Owner: |
Oxylo removed
|
| Status: |
assigned → new
|
| Owner: |
set to Floris den Hengst
|
| Status: |
new → assigned
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
PR