[web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-22 Thread mostwanted
Hi guys, i need help, I'm creating a simple results management system for a school and I've hit a stumbling block, what i wanna do is be able to open a form to make detail entries of a specific individual and this is how i want to do it, i wanna click on the specific individual's name and have t

Re: [web2py] Open a form (form=SQLFORM(db.marks)) for a selected person by clicking on a link of their name

2017-10-22 Thread Javier Pepe
Hi You can fill the record before SQLFORM def marks_entry(): stu=db.student(request.args(0)) *db.marks.students.default = stu.id * form=SQLFORM(db.marks) return locals(); 2017-10-22 8:59 GMT-03:00 mostwanted : > Hi guys, i need help, I'm creating a simple results man

[web2py] Logger issue

2017-10-22 Thread Ian Ryder
Hi, we're just getting logging running on an app we're building and have a what I hope is a bit of noob issue. It seems every time a request comes in a new file handle is opened and not released when the request is finished. Eventually we get an error with too many open files and everything sto

[web2py] Re: Bug with URL encoding?

2017-10-22 Thread Francisco Ribeiro
Thank you! On Friday, 20 October 2017 16:32:49 UTC+1, Anthony wrote: > > By default, characters in args that do not match the '[^\w/.@=-]' regular > expression are replaced with underscores. To override that behavior, there > are two options: > >1. In routes.py, set routes_apps_raw to a list

Re: [web2py] Logger issue

2017-10-22 Thread Kiran Subbaraman
configuring the logger for every thread (`current.logger = logger`), and this seems unnecessary. Take a look at this logging configuration: https://github.com/web2py/web2py/blob/0d646fa5e7c731cb5c392adf6a885351e77e4903/examples/logging.example.conf, and set one up for your app. ___