#22977: No validation error when ForeignKey related_name clashes with manager
name.
-------------------------------------+-------------------------------------
Reporter: Russell Keith-Magee | Owner: Mariusz
Type: | Felisiak
Cleanup/optimization | Status: closed
Component: Core (System | Version: dev
checks) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):
In [changeset:"fcf916884d25ed430bd7cedaea2b10035c2aa3b6" fcf91688]:
{{{#!CommitTicketReference repository=""
revision="fcf916884d25ed430bd7cedaea2b10035c2aa3b6"
Fixed #36973 -- Made fields.E348 check detect further clashes between
managers and related_names.
Clashes were only detected for self-referential relationships, i.e.
ForeignKey("self").
Refs #22977. Bug in 6888375c53476011754f778deabc6cdbfa327011.
Thanks JaeHyuckSa for the thorough review!
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22977#comment:19>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019d4fc2ee87-80cab948-7f92-493d-b458-dd9150aaf383-000000%40eu-central-1.amazonses.com.