Re: [web2py] Re: Future of web2py

2018-11-16 Thread Antonio Salazar
As a user, it looks nice but has horrible usability. - Simply moving the cursor to the wrong place can slide the whole dashboard several centimeters to the side. - Activating the right panel scrolls the left panel trigger as if going *beyond* the left border of the screen. You have

[web2py] Re: setting password with auth.register_bare()

2018-11-16 Thread Dave S
On Friday, November 16, 2018 at 8:13:28 AM UTC-8, Leonel Câmara wrote: > > Probably the email is case sensitive in your auth settings which is the > default and you're trying to log in with a inexisting email as a result. > Change the email to test...@example.com in appadmin and try > again.

[web2py] env

2018-11-16 Thread Manuele Pesenti
Hi! Is there any good reason why thees few code lines that perfectly run on a python interpreter returns None if called in a controller? from gluon.shell import env def index():     other_env = env("my_other_application", True)     return dict() I would like to access a complete model

[web2py] Re: setting password with auth.register_bare()

2018-11-16 Thread Leonel Câmara
Probably the email is case sensitive in your auth settings which is the default and you're trying to log in with a inexisting email as a result. Change the email to testu...@example.com in appadmin and try again. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: How to work with files in multipart/form-data?

2018-11-16 Thread Константин Комков
> > how did they (.exe, .html ...) get there? When I tested loading documents I heve tried to load test.html from site of course. After that I cheked table db_app.doc_images and there isn't record with that file and after that I cheked folder uploads and unfortunately found test.html. > >

[web2py] Re: How to work with files in multipart/form-data?

2018-11-16 Thread Val K
how did they (.exe, .html ...) get there? There is no any hard link between db and the folder 'uploads', you can kill all files in the folder, but web2py will still think that they are in it. + read the book and feel the difference between just 'insert' and 'validate_and insert' On Friday,

[web2py] Re: How to work with files in multipart/form-data?

2018-11-16 Thread Константин Комков
I found one unpleasant mistake. In model: db_app.define_table('doc_images', Field ('person',label='ФИО',writable=False), Field ('file', 'upload',label='Документ',