[Django] #26625: Check that related_name doesn't contain double underscores

33 views
Skip to first unread message

Django

unread,
May 17, 2016, 9:20:00 AM5/17/16
to django-...@googlegroups.com
#26625: Check that related_name doesn't contain double underscores
-------------------------------------+-------------------------------------
Reporter: charettes | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
This can lead to strange failures as
[https://groups.google.com/forum/#!topic/django-users/vR6eR1l3AaY reported
in @django-users].

The
`django.db.models.fields.related.RelatedField._check_related_name_is_valid`
method is where the changes should be done.

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

Django

unread,
May 18, 2016, 2:44:53 AM5/18/16
to django-...@googlegroups.com
#26625: Check that related_name doesn't contain double underscores
-------------------------------------+-------------------------------------
Reporter: charettes | Owner: filias
Type: | Status: assigned
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by filias):

* owner: nobody => filias
* status: new => assigned


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

Django

unread,
May 22, 2016, 5:22:44 PM5/22/16
to django-...@googlegroups.com
#26625: Check that related_name doesn't contain double underscores
-------------------------------------+-------------------------------------
Reporter: charettes | Owner: filias
Type: | Status: closed

Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by charettes):

* status: assigned => closed
* resolution: => duplicate


Comment:

Duplicate of #26648.

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

Reply all
Reply to author
Forward
0 new messages