Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#647 closed defect (fixed)

[patch] cache middleware blows out when gets "unmarked" response

Reported by: eugene@… Owned by: Jacob
Component: Core (Cache system) Version:
Severity: major Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Cache middleware expects request._cache_update_cache attribute during process_response(). It's not always the case. Notable examples are 404 and 500 errors. Attached patch fixes the problem.

Attachments (1)

django.cache.patch (541 bytes) - added by eugene@… 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by eugene@…

Attachment: django.cache.patch added

comment:1 Changed 14 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [954]) Fixed #647 -- Fixed cache middleware not to expect _cache_update_cache, in case of 404s and 500s. Thanks, Eugene

Note: See TracTickets for help on using tickets.
Back to Top