Graham Higgins <[email protected]> writes: > The "data_dir" kwarg is required, the decorator throws an exception if > it's omitted: > > MissingCacheParameter: data_dir or file_dir is required > > (What's the difference between data_dir and file_dir?) > > My middleware.py has (as per usual): > > app = CacheMiddleware(app, config) > > Shouldn't that be picking up the .ini directives?
I also ran into this problem just a few minutes ago. In my case, I was
doing
return render('/some-template', cache_expire=43200)
render_mako doesn't like a cache_dir kwarg.
Faried.
--
(> (length "eclipse") (length "emacs")) => T
pgpkuXacabP9H.pgp
Description: PGP signature
