[web2py] Re: 0.db naming convention?

2015-10-15 Thread Egor Sledov
I believe files from models folder are loaded in alphabetical sequence. So, say, customers.py will be read before db.py file , where connection (and other application level things are defined). If you have file 0.db.py, it will be loaded before customers.py and likely before any other file you

[web2py] bootstrap3 forms

2015-10-15 Thread Egor Sledov
I am trying to use a bootstrap3 template for my project. In bootstrap forms div element containing the input has class "has-error". In web2py (gluon/html.py) input control itself is specially marked if it has na error. Well, more or less. If I am returning an SQLFORM what would be the right a