#16572: select_related doesn't work (silent/masked TypeError) over multiple one-to- one relationships -------------------------------------+------------------------------------- Reporter: rfrankel | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: 1.3 (models, ORM) | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: select_related orm | Needs documentation: 0 queryset | Patch needs improvement: 0 Has patch: 1 | UI/UX: 0 Needs tests: 1 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by ptone):
* needs_tests: 0 => 1 Comment: I'm wondering if this shouldn't be fixed elsewhere. Not super familiar with these internals either, but would you want to exclude self from the list of parents in the first place here: https://code.djangoproject.com/browser/django/trunk/django/db/models/base.py#L34 -- Ticket URL: <https://code.djangoproject.com/ticket/16572#comment:5> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.