#16326: Un-pickled TemplateResponse objects can't be re-pickled
---------------------+---------------------------------
Reporter: natrius | Owner: nobody
Type: Bug | Status: new
Milestone: | Component: Template system
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------+---------------------------------
Pickling a `TemplateResponse` removes attributes that deal with rendering,
presumably to make it clear that un-pickled `TemplateResponses` are
completely baked and you can't do the typical things you'd do with a
normal `TemplateResponse`. However, there's no check that ensures that the
attributes exist before removing them, so if you try to re-pickle a
`TemplateResponse`, you get a `KeyError`.
--
Ticket URL: <https://code.djangoproject.com/ticket/16326>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.