[web2py] Re: grid add/edit form label

2017-06-02 Thread T.R.Rajkumar
As said I did this in controller but there is no effect in either create or edit forms of amc_master or amc_details. I added the closing parenthesis for the first dict. Anything I miss? form = SQLFORM.smartgrid(db.amc_master, linked_tables=['amc_details'],

[web2py] Re: redirect an upload

2017-06-02 Thread Dave S
On Friday, June 2, 2017 at 4:34:56 PM UTC-7, Dave S wrote: > > > > On Tuesday, May 30, 2017 at 11:15:46 PM UTC-7, Dave S wrote: >> >> >> >> On Tuesday, May 30, 2017 at 2:59:58 PM UTC-7, Marlysson Silva wrote: >>> >>> The request.requires_https() is written on top of models file once time.. >>> >>

[web2py] Re: Encrypting/decrypting db values

2017-06-02 Thread 黄祥
is filter_in and filter_out is part of pydal? interested in the code example but sometime i use database that used in web2py app in terminal so, is it possible to decrypt the encrypted database values in terminal? p.s. terminal is execute pure python code, sometime ruby or php just for scrapping

[web2py] Re: Future of web2py

2017-06-02 Thread Ron Chatterjee
apologies for ignorance on this topic but can this be a temporary fix to see how much benefits web2py will have prior to go with full web3py features? https://docs.python.org/2/library/2to3.html -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web

[web2py] Re: different default application based on the host header - Python anywhere - Go daddy

2017-06-02 Thread Ron Chatterjee
You are right. I bought domain from go daddy. My hosting is with pythonanywhere. Currently using routes.py I get one go daddy domain to get redirect to one app. For the second domain at godaddy, what set up at routes.py I need to be redirected to the second app at the hosting platform? -- Re

[web2py] Re: redirect an upload

2017-06-02 Thread Dave S
On Tuesday, May 30, 2017 at 11:15:46 PM UTC-7, Dave S wrote: > > > > On Tuesday, May 30, 2017 at 2:59:58 PM UTC-7, Marlysson Silva wrote: >> >> The request.requires_https() is written on top of models file once time.. >> >> And to respect of redirect .. Could you use the absolute URL .. Create >

[web2py] Re: Any ideas on how to prepare web2py apps for GDPR

2017-06-02 Thread Carlos Kitu
Hi Antonio, I don't know the UK regulations about GDPR, but I know the spanish ones, and in this subject both countries apply the european regulation, thus i think that they must be quite similar. The spanish data protection regulations defines three levels of security personal data, related to

[web2py] Strange Behavoir sql.factory()

2017-06-02 Thread Santiago Cartasegna
Hello everyone I have modified an SQLFORM.Smartgrid so when i Edit a record I only can modify a part of the data. I need to make some validations, so I added a myValidation to the form (and it renders OK). However no validation is made on the form and a response.flash with the "Success!" appear

[web2py] Re: Future of web2py

2017-06-02 Thread Massimo Di Pierro
OK course it is still maintained why do you ask? On Wednesday, 31 May 2017 14:21:40 UTC-5, Oasis Agano wrote: > > > But web2py is still maintained right? or we start buying flask books > On Saturday, May 27, 2017 at 9:11:02 AM UTC+2, Andrea Fae' wrote: >> >> Hello guys, >> I'd like to know if

[web2py] Re: Hide breadcrumbs

2017-06-02 Thread Massimo Di Pierro
The simplest way is via css: .web2py_breadcrumbs { display: none} On Friday, 2 June 2017 09:40:27 UTC-5, Daniela Ortiz wrote: > > > Is there any way to hide breadcrumbs of smartgrid? Thanks. > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web

[web2py] Re: Strange behaviour of SQL query on accented characters

2017-06-02 Thread Massimo Di Pierro
It is a GAE problem. It captures the print in a logfile and for some reason it cannot save certain characters. On Tuesday, 30 May 2017 05:07:30 UTC-5, Karoly Kantor wrote: > > Please help: > > I have this: > > print "DEBUG: query = " + str(query) > result = mydb(query).sel

[web2py] Re: not authorised flash message when I used SQLFORM.grid, but worked fine with SQLFORM.smartgrid

2017-06-02 Thread Leandro Paz
Tenta colocar no SQLForm.grid o parâmetro: user_signature=False Ficará assim: grade = SQLFORM.grid (db.auth_user, user_signature = False) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2p

Re: [web2py] Re: Future of web2py

2017-06-02 Thread Dave S
On Wednesday, May 31, 2017 at 2:51:54 AM UTC-7, Ramos wrote: > > To Massimo... > maybe we can have something like this in future web2py versions... > > https://tg.pl/drab > Is this particularly different from stupid.css, already include in the applications/examples

[web2py] Re: Future of web2py

2017-06-02 Thread eric cuver
lol Le mercredi 31 mai 2017 21:21:40 UTC+2, Oasis Agano a écrit : > > > But web2py is still maintained right? or we start buying flask books > On Saturday, May 27, 2017 at 9:11:02 AM UTC+2, Andrea Fae' wrote: >> >> Hello guys, >> I'd like to know if there will be future of web2py? Any information

[web2py] Re: Future of web2py

2017-06-02 Thread Marlysson Silva
o.O -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To u

[web2py] Re: smartgrid edit form javascript calculation

2017-06-02 Thread Dave S
On Friday, June 2, 2017 at 4:00:54 AM UTC-7, T.R.Rajkumar wrote: > > Sorry. I am able to do it. In view new_contract.html I have now this. > I'm happy to hear that you've figured it out! -d > {{extend 'layout.html'}} > New Contract > {{=form}} > >