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

2017-11-28 Thread António Ramos
Another question. A simple pdf created with reportbro is 560Kb in size. Why is it soo big?? Regards 2017-11-23 12:52 GMT+00:00 António Ramos : > @alex > you said > if you have a parameter "first_name" then data must contain a key > "first_name". > > What is the point of the ${variable} in your

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

2017-11-28 Thread Alex
your attached report is only 1,8 kB reports can get large in case you include large images. currently the image data itself is not resized, so if you have a very large image the report could get very large as well. Further if you use additional fonts the fonts are embedded in the pdf. about th

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

2017-11-28 Thread António Ramos
Great I´m loving your tool... Regards 2017-11-28 13:29 GMT+00:00 Alex : > your attached report is only 1,8 kB > > reports can get large in case you include large images. currently the > image data itself is not resized, so if you have a very large image the > report could get very large as well.

[web2py] Re: Is Web2py suitable for my project

2017-11-28 Thread Leonel Câmara
I am not really a biologist or use bokeh. But looking at their documentation it looked pretty simple. So I decided to try it. Here's a simple example. This is your controller function def index(): from bokeh.plotting import figure from bokeh.embed import components # prepare some da

[web2py] Re: CREATING A SCHEDULED DATABASE BACKUP

2017-11-28 Thread mostwanted
I'll try that and see how it works out, thanks. On Saturday, November 25, 2017 at 11:38:58 AM UTC+2, 黄祥 wrote: > > just an idea, why not use the backup database schedule to the system > backup (cron, bacula, etc) to lower database web2py io? > > best regards, > stifan > -- Resources: - http://w

[web2py] Interface for "admin" users to create new users?

2017-11-28 Thread Martti Lamberg
https://stackoverflow.com/questions/47542066/web2py-interface-for-admin-users-to-create-new-users I want to disable normal registering in my web2py app and only allow certain "admin" users to create new users. I know how to disable registering, but I don't know how to make an interface for users

[web2py] Re: Interface for "admin" users to create new users?

2017-11-28 Thread Anthony
See https://stackoverflow.com/a/47544844/440323. On Tuesday, November 28, 2017 at 10:31:32 PM UTC-5, Martti Lamberg wrote: > > > https://stackoverflow.com/questions/47542066/web2py-interface-for-admin-users-to-create-new-users > > I want to disable normal registering in my web2py app and only allo

[web2py] Are we still like to experience the corrupt tables error solved by fake_migrate with this version

2017-11-28 Thread mostwanted
With some earlier versions of web2py, the APPS we created used to experience *corrupt tables error* and back then we'd advised to put migrate=False,fake_migrate=True line before closing the table definition. My question is has this issues been addressed with the latest versions like the 2.16