#15144: Max age set in cache control no longer obeys timeout set with
@cache_page
decorator
-----------------------------------+----------------------------------------
Reporter: jsdalton | Owner: nobody
Status: new | Milestone: 1.3
Component: Cache system | Version: SVN
Resolution: | Keywords: blocker, regression
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Changes (by Joshua "jag" Ginsberg <[email protected]>):
* has_patch: 0 => 1
Comment:
The problem is in get_cache - it does not do anything with the provided
kwargs unless the specified cache is in URL format (i.e. has '://' in it).
Patch attached - I'd probably recommend also including jsdalton's unit
tests.
-jag
--
Ticket URL: <http://code.djangoproject.com/ticket/15144#comment:3>
Django <http://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.