﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
2567	cache_page works as wrapper function, not as decorator	Jaroslaw Zabiello <hipertracker@…>	Jacob	"There are severe issues with cache settings and implementations for *Windows* (it was tested on Windows XP Pro SP2 with fresh SVN version of Django). Eg.

for 
{{{
CACHE_BACKEND = 'file:///c:/tmp/cache'
}}} 
the following error is displayed:

{{{
EnvironmentError at /test/
Cache directory '/c:/tmp/cache' does not exist and could not be created'
}}}

So I switched to database (table cache is existing of course)

{{{ 
CACHE_BACKEND = 'db://cache' 
CACHE_MIDDLEWARE_SECONDS = 30
}}} 

But then I have another error:

{{{
AttributeError at /test/
'function' object has no attribute 'method'
Request Method: 	GET
Request URL: 	http://localhost:8000/test/
Exception Type: 	AttributeError
Exception Value: 	'function' object has no attribute 'method'
Exception Location: 	c:\opt\python24\lib\site-packages\Django-0.95-py2.4.egg\django\middleware\cache.py in process_request, line 47
}}}
"	defect	closed	Core (Cache system)	dev	normal	duplicate	cache win32 linux freebsd	ca.dein@…	Accepted	0	0	0	0	0	0
