[web2py] Re: How to properly connect to .css and .js ?

2015-04-03 Thread Mirek Zvolský
Thank you for answer. But that is bad approach. Scaffolding application (db.py, layout.html, web2py_ajax.html) has for me lot of useful out of the box features and it improves with future versions of web2py too. And I want use advantage of this new improvements. For example my application is 2 y

[web2py] Re: How to properly connect to .css and .js ?

2015-04-02 Thread Ron Chatterjee
Best way to call javascript and css files are from layout. and then include the layout like a sandwich inside index.html (or whatever pages you are wishing to use the jss and css). On Thursday, April 2, 2015 at 7:58:29 PM UTC-4, Derek wrote: > > ok first of all, you work with your application an

[web2py] Re: How to properly connect to .css and .js ?

2015-04-02 Thread Derek
ok first of all, you work with your application and you should just modify your db.py, layout.html and etc. You should not worry about not having the same thing as in the scaffolding in the latest versions, because as you are aware, web2py is fully backwards compatible. So if your application wo