[Django] #21375: Related_name='+' shouldn't clash with another '+'

0 views
Skip to first unread message

Django

unread,
Nov 2, 2013, 3:07:21 PM11/2/13
to django-...@googlegroups.com
#21375: Related_name='+' shouldn't clash with another '+'
----------------------------------------------+--------------------
Reporter: akaariai | Owner: nobody
Type: Bug | Status: new
Component: Database layer (models, ORM) | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
A relation (fk or m2m) that defines its related name as '+' shouldn't
cause a model validation error if there is another relation for the same
model with '+'.

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

Django

unread,
Nov 2, 2013, 3:19:43 PM11/2/13
to django-...@googlegroups.com
#21375: Related_name='+' shouldn't clash with another '+'
------------------------------------------+----------------------------
Reporter: akaariai | Owner: nobody
Type: Bug | Status: closed

Component: Database layer (models, ORM) | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+----------------------------
Changes (by Anssi Kääriäinen <akaariai@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"9f76ea1eaad0db0183fa3b5bade16392db0cafbd"]:
{{{
#!CommitTicketReference repository=""
revision="9f76ea1eaad0db0183fa3b5bade16392db0cafbd"
Fixed #21375 -- related_name='+' clashed with other '+' names
}}}

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

Django

unread,
Nov 22, 2013, 2:24:31 PM11/22/13
to django-...@googlegroups.com
#21375: Related_name='+' shouldn't clash with another '+'
------------------------------------------+----------------------------
Reporter: akaariai | Owner: nobody
Type: Bug | Status: closed

Component: Database layer (models, ORM) | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------+----------------------------

Comment (by Loic Bistuer <loic.bistuer@…>):

In [changeset:"82a58ce5b67e0b79fa0efbad72e21d9d1be25ceb"]:
{{{
#!CommitTicketReference repository=""
revision="82a58ce5b67e0b79fa0efbad72e21d9d1be25ceb"
Fixed #21491 -- Removed documented workaround for a known issue.

The issue was that two M2M hidden reverse managers
(related_name ending with a '+') could clash with each other.

Refs #21375 and #15932. Thanks Baptiste.
}}}

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

Reply all
Reply to author
Forward
0 new messages