#24381: Cache pickling exception in 1.8a1 with cross-table filter params
-------------------------------------+-------------------------------------
     Reporter:  marktranchant        |                    Owner:  timgraham
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Cache system)  |                  Version:  1.8alpha1
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  cache pickle empty   |             Triage Stage:  Accepted
  queryset                           |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

 In [changeset:"f95122e541df5bebb9b5ebb6226b0013e5edc893"]:
 {{{
 #!CommitTicketReference repository=""
 revision="f95122e541df5bebb9b5ebb6226b0013e5edc893"
 Fixed #24381 -- removed ForeignObjectRel opts and to_opts

 These cached properies were causing problems with pickling, and in
 addition they were confusingly defined: field.rel.model._meta was
 not the same as field.rel.opts.

 Instead users should use field.rel.related_model._meta inplace of
 field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24381#comment:10>
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/071.19f9c9615fdde860860d2bab6af15cbc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to