Re: [web2py] Re: how to create pdf report in web2py???

2018-09-25 Thread Alex
We just released ReportBro v1.0! besides new features (e.g. sections) and bugfixes we also updated the documentation. There is an own section how to integrate ReportBro into your web application: https://www.reportbro.com/docs/setup we include a demo application which is available for both

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-25 Thread Nico de Groot
I should have added that the module depends on the Python version you are using. Python 3.7 can use this module but Python 2.7 should use httplib. Or requests. In both cases you would have to install the module first using pip, see the Python tutorial in the web2py book or other tutorials. --

[web2py] Re: Forms with readonly fields

2018-09-25 Thread Dan Carroll
Here is a simple fix if there hasn't been one added to Web2Py yet. Use the Bootstrap readonly attribute. example: form.element('input', _id='RentalTransactionMaster_TotalAmt')['_readonly']='' Placed in controller after the form = SQLFORM(...) declaration. On Friday, March 31, 2017 at

[web2py] lose focus events in form fields

2018-09-25 Thread Rahul
Hi Everyone, Is it possible to have lost focus events in web2py SQLForms or CRUD ? By lost focus I mean building the Full name automatically from First, Middle and Last Name provided while filling the form and display it in Full name filled upon lost focus of either field.. Can we do

[web2py] Foreign Keyes and DAL .. again.

2018-09-25 Thread Ben Duncan
Ok, I think I might have found a work around on my DAL issues with multiple defined FK values. But I have a question (Postgesql DB by the way) Since I have these tables defined as "legacy", what would the ramifications be if I left extract_pgsql_models.py define my tables with only one foreign

[web2py] how to break migration at table defining label

2018-09-25 Thread sandeep patel
Hello, My question is break migration when defining a new table in modal. #modal.py db = DAL('mysql://*@*.amazonaws.com/ware1', pool_size=configuration.get('db.pool_size'), migrate_enabled=configuration.get('db.migrate'),

Re: [web2py] Re: ADDING MODULE TO CONTROL

2018-09-25 Thread elisha bere
I am getting the error below if i import http.client 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "G:\my web2py project\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "G:/my web2py project/applications/smsonline/controllers/default.py"

Re: [web2py] CUSTOMIZING WEB2PY FORMS

2018-09-25 Thread elisha bere
i am not understanding it On Fri, 7 Sep 2018 at 20:07, Javier Pepe wrote: > In docs you have example. > > > http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms > > El vie., 7 de sep. de 2018 a la(s) 07:02, elisha bere ( > elishabe...@gmail.com) escribió: > >> Hie

Re: [web2py] Re: Customising my views

2018-09-25 Thread elisha bere
ok let me try that On Mon, 24 Sep 2018 at 18:44, Leonel Câmara wrote: > Don't use relative paths for inline styles. Use something like this > > > > That way web2py will put the absolute url to the file there and it will > work. > > -- > Resources: > - http://web2py.com > -