[web2py] Re: append script with no extension

2014-12-24 Thread Leonel Câmara
Not really response.files is for local files. I just add that script tag to my layout.html. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received

Re: [web2py] Re: append script with no extension

2014-12-24 Thread Manuele Pesenti
Il 24/12/14 14:22, Leonel Câmara ha scritto: Not really response.files is for local files. I just add that script tag to my layout.html. Thank you Leonel and Massimiliano, that's what I've done... but I wanted to load this script only where needed. No way to do it programmatically? M. --

Re: [web2py] Re: append script with no extension

2014-12-24 Thread Niphlod
No way to do it programmatically? unless you code something of your own, from that url (or any other without extension) web2py can't figure out what type of script to generate. on a totally (un)related note, this seems to work fine