#12019: @cache_page with no args causes IndexError
-----------------------------------+----------------------------------------
Reporter: rokclimb15 | Owner: nobody
Status: new | Milestone:
Component: Cache system | Version: SVN
Resolution: | Keywords: @cache_page
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
-----------------------------------+----------------------------------------
Comment (by j4mie):
Added a slightly different approach at the patch, which allows the
middleware to deal with the default cache timeout value. Hopefully a
little more DRY. Also added a test.
--
Ticket URL: <http://code.djangoproject.com/ticket/12019#comment:6>
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.