Re: [Django] #14515: Can't pickle ValueQuerySet if query references fields, which aren't on the same model.

4 views
Skip to first unread message

Django

unread,
Jun 12, 2012, 6:38:45 PM6/12/12
to django-...@googlegroups.com
#14515: Can't pickle ValueQuerySet if query references fields, which aren't on the
same model.
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 1.2
(models, ORM) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------

Comment (by david@…):

Is there a workaround for this?

--
Ticket URL: <https://code.djangoproject.com/ticket/14515#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 24, 2014, 9:01:48 AM12/24/14
to django-...@googlegroups.com
#14515: Can't pickle ValueQuerySet if query references fields, which aren't on the
same model.
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody
Type: Bug | Status: closed

Component: Database layer | Version: 1.2
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):

* status: new => closed
* resolution: => fixed


Comment:

This issue seems to be fixed in current code. I'll complement a test for
confirmation.

--
Ticket URL: <https://code.djangoproject.com/ticket/14515#comment:9>

Django

unread,
Dec 24, 2014, 9:02:12 AM12/24/14
to django-...@googlegroups.com
#14515: Can't pickle ValueQuerySet if query references fields, which aren't on the
same model.
-------------------------------------+-------------------------------------
Reporter: apollo13 | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.2
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz <claude@…>):

In [changeset:"fae551d765bc24103ce1b9782aa264246abfa2b8"]:
{{{
#!CommitTicketReference repository=""
revision="fae551d765bc24103ce1b9782aa264246abfa2b8"
Complemented pickle test for ValuesQuerySet with related field

Refs #14515.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/14515#comment:10>

Reply all
Reply to author
Forward
0 new messages