#26515: trim_joins bug with nested related models using ForeignObject
-------------------------------------+-------------------------------------
Reporter: ornoone | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.9
(models, ORM) |
Severity: Normal | Resolution:
Keywords: ForeignObject, | Triage Stage:
trim_join, orm | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by ornoone):
Replying to [comment:1 akaariai]:
> Can you create a test for this in Django's test suite? See
tests/foreign_object/ directory for some similar tests.
I just forked the django repo (hope it was what you expected) and wrote
down my tests in tests/foreign_object/.
the test `test_very_deep_optimized_forward` fail without the patch, and
after patch, all tests pass on my computer.
--
Ticket URL: <https://code.djangoproject.com/ticket/26515#comment:2>
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/065.52371585e8ab7c23b280eff298b1a8ba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.