#20257: QuerySet that prefetches related object with a ManyToMany field cannot be pickled. -------------------------------------+------------------------------------- Reporter: bryced | Owner: nobody Type: Bug | Status: new Component: Database layer | Version: 1.5 (models, ORM) | Resolution: Severity: Release blocker | Triage Stage: Accepted Keywords: ORM, pickle, cache | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by bmispelon):
* cc: bmispelon@… (added) * needs_better_patch: => 0 * component: Core (Cache system) => Database layer (models, ORM) * needs_tests: => 0 * needs_docs: => 0 * stage: Unreviewed => Accepted Comment: Hi, Thanks for the detailed report. I can reproduce the issue in the `stable/1.5.x` branch but it appears to have been fixed in `master`. The testcase works on the `stable/1.4.x` branch so it is a regression. Using `git bisect`, I found that the problem was introduced by commit 056ace0f395a58eeac03da9f9ee7e3872e1e407b. -- Ticket URL: <https://code.djangoproject.com/ticket/20257#comment:1> 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 post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.