#25173: multi-table inheritance: accessing child object after select_related('child') causes extra query -------------------------------------+------------------------------------- Reporter: Sebastian Illing | Owner: nobody Type: Bug | Status: closed Component: Database layer | Version: 1.8 (models, ORM) | Severity: Normal | Resolution: duplicate Keywords: ORM, | Triage Stage: Accepted select_related, model inheritance | Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak):
* status: new => closed * resolution: => duplicate Comment: Please provide a reproducible scenario before reopening a ticket. Tests provided by Baptist pass on the current `main` branch (and 3.2). -- Ticket URL: <https://code.djangoproject.com/ticket/25173#comment:6> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018bd28199aa-3160d58d-a3ee-48cc-8ca1-e743f1eb44fe-000000%40eu-central-1.amazonses.com.