I wasn't suggesting hacking the framework -- just create your own function somewhere in your app (or even in site-packages to use it in multiple apps). Anyway, it might not be a bad idea to enhance response.include_files() to support additional file types.
On Wednesday, October 19, 2011 11:26:38 AM UTC-4, Francisco Costa wrote: > > On Oct 19, 2:41 pm, Anthony <[email protected]> wrote: > > That's currently not supported. I suppose you could write your own > > include_less function, similar to response.include_files > > (seehttp://code.google.com/p/web2py/source/browse/gluon/globals.py#195). > > > Then, include {{include_less()}} in your layout head. > > But if I want to upgrade web2py, I would lost that changes...

