[web2py] OT PollyReports generate PDF using bands from DB

2020-10-01 Thread 'DenesL' via web2py-users
While searching for a Python PDF package I found PollyReports and was pleasantly surprised by it, and it is also nicely documented. PollyReports is a small, light module providing a simple way to generate reports from databases using Python. Reference: https://pythonhosted.org/PollyReports/doc

[web2py] SQLFLORMGRID

2020-10-01 Thread lcham...@gmail.com
Hello, i use sqlformgrid and like this : controller: def art_manage(): records= SQLFORM.grid(query=db.t_art,maxtextlength = 40,deletable=False,create=True, fields=[db.t_art.f_name, db.t_art.f_team, db.t_art.f_tit]) return dict(records=records) view: {{=records}} the records displayed

[web2py] Re: How to automatically reset or hide drop down menus in navbar

2020-10-01 Thread 'Annet' via web2py-users
http://web2py.com/book uses a script named web2py_bootstrap.js // this code improves bootstrap menus and adds dropdown support jQuery(function(){ jQuery('.nav>li>a').each(function(){ if(jQuery(this).parent().find('ul').length) jQuery(this).attr({'class':'dropdown-toggle','data-toggl