Opened 15 years ago

Closed 15 years ago

#3967 closed (duplicate)

@cache_page(60 * 15) doesn't work, view = cache_page(view,60 * 15) does

Reported by: Henrik Vendelbo <info@…> Owned by: Adrian Holovaty
Component: Core (Other) Version: dev
Severity: Keywords: middleware decorators
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I am trying to implement caching using the current dev version.

I get an AttributeError

/usr/lib/python2.4/site-packages/django/utils/ in _wrapped_view
line 12
/usr/lib/python2.4/site-packages/django/middleware/ in process_request
line 47

'function' object has no attribute 'method'

Apparently the decorator passes a function in the request parameter

Change History (1)

comment:1 Changed 15 years ago by Gary Wilson <gary.wilson@…>

Resolution: duplicate
Status: newclosed

duplicate of #1015.

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