#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.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.084d96ebbe19d29e384ba2ec8f9d91b3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.