[Django] #24581: Explicitly raise an exception if ManyToManyField._get_m2m_attr fails to match

4 views
Skip to first unread message

Django

unread,
Apr 4, 2015, 5:55:00 AM4/4/15
to django-...@googlegroups.com
#24581: Explicitly raise an exception if ManyToManyField._get_m2m_attr fails to
match
----------------------------------------------+--------------------
Reporter: patrys | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer (models, ORM) | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
In cases like #24513 it results in surprising error messages and useless
tracebacks.

--
Ticket URL: <https://code.djangoproject.com/ticket/24581>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 4, 2015, 5:59:37 AM4/4/15
to django-...@googlegroups.com
#24581: Explicitly raise an exception if ManyToManyField._get_m2m_attr fails to
match
-------------------------------------+-------------------------------------

Reporter: patrys | Owner: nobody
Type: Uncategorized | Status: new
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by patrys):

* needs_better_patch: => 0
* has_patch: 0 => 1
* needs_tests: => 0
* needs_docs: => 0


Comment:

Pull request: https://github.com/django/django/pull/4451

--
Ticket URL: <https://code.djangoproject.com/ticket/24581#comment:1>

Django

unread,
Apr 4, 2015, 7:46:19 AM4/4/15
to django-...@googlegroups.com
#24581: Explicitly raise an exception if ManyToManyField._get_m2m_attr fails to
match
-------------------------------------+-------------------------------------
Reporter: patrys | Owner: nobody
Type: | Status: new
Cleanup/optimization |

Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):

* type: Uncategorized => Cleanup/optimization
* needs_tests: 0 => 1
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/24581#comment:2>

Reply all
Reply to author
Forward
0 new messages