Malcolm Tredinnick wrote:
> On Fri, 2006-08-18 at 11:14 +, xgdlm wrote:
> So stop passing it as a string. Set CACHE_MIDDLEWARE_SECONDS = 300 (no
> quotes) and you will be fine.
Thanks for your answer Malcom. This was the trick. I was pretty sure to
have done the test before posting, but now
On Fri, 2006-08-18 at 11:14 +, xgdlm wrote:
[...]
> [Fri Aug 18 13:00:52 2006] [error] [client 10.0.0.199] PythonHandler
> django.core.handlers.modpython: TypeError: unsupported operand type(s)
> for +: 'float' and 'str'
This almost always means you're passing a string where an integer is
exp
Hello all,
I'm face an issue while using the cache middleware :
[Fri Aug 18 13:00:52 2006] [error] [client 10.0.0.199] PythonHandler
django.core.handlers.modpython: File
"/usr/lib/python2.4/site-packages/django/utils/cache.py", line 161, in
learn_cache_key\ncache.set(cache_key, headerlist,