You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers (Contributions to Django itself)
Hello guys,
It seems that this bug is too big for me to handle. What seems to happen is that when you pickle a query. RelatedIn pickle the whole sub QuerySet, which it is not supposed to do. I guess the solution requires to change it's behavior, which I have no clue how to do.
Dávid Főző
unread,
Sep 7, 2016, 4:39:58 PM9/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers (Contributions to Django itself)
I think I can do this. I will define a variable in QuerySet showing that it's a subquery, so it won't populate its cache when pickled.
Now, I just need to find the shortest path between RelatedIn and instantiating its QuerySet, the variable will cascade through this path.