Opened 12 years ago

Last modified 6 days ago

#24581 assigned Cleanup/optimization

Explicitly raise an exception if ManyToManyField._get_m2m_attr fails to match

Reported by: Patryk Zawadzki Owned by: Muhammad Usman Khan
Component: Database layer (models, ORM) Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no 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 (4)

comment:1 by Patryk Zawadzki, 12 years ago

Has patch: set

comment:2 by Tim Graham, 12 years ago

Needs tests: set
Triage Stage: Unreviewed → Accepted
Type: Uncategorized → Cleanup/optimization

comment:3 by Muhammad Usman Khan, 6 days ago

Owner: changed from nobody to Muhammad Usman Khan
Status: new → assigned

comment:4 by Muhammad Usman Khan, 6 days ago

Needs tests: unset
Note: See TracTickets for help on using tickets.
Back to Top