Opened 2 years ago

Last modified 2 years ago

#24581 new Cleanup/optimization

Explicitly raise an exception if ManyToManyField._get_m2m_attr fails to match

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

Description

In cases like #24513 it results in surprising error messages and useless tracebacks.

Change History (2)

comment:1 Changed 2 years ago by Patryk Zawadzki

Has patch: set

comment:2 Changed 2 years ago by Tim Graham

Needs tests: set
Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization
Note: See TracTickets for help on using tickets.
Back to Top