[web2py] Re: Could I use SQLFORM.factory to update 2 tables in a single form

2017-04-23 Thread Rudy
Hi Massimo, Thanks for your help, i indeed used db.item.insert(**db.item._filter_fields(form.vars)) and db.subscription_item.insert(**db.subscription_item._filter_fields(form.vars)) to generate a CREATE FORM in a separate action. Now I want to create another action with an UPDATE FORM for

[web2py] Field date error

2017-04-23 Thread Winter Kryz
Hello everybody, I have a table db.define_table('Person', Field('last_name', 'string'), Field('first_name', 'string'), Field('nationality','string'), Field('birth_date', 'date', requires = IS_NOT_EMPTY(error_message="select a

[web2py] Re: UPDATE BOOTSTRAP VERSION FROM 3 TO 4

2017-04-23 Thread Joe Barnhart
But are you sure that's the right approach? I force problems with lightweight clients (i.e. phones) doing complicated layout generation. -- Joe On Friday, April 21, 2017 at 8:19:15 AM UTC-7, Massimo Di Pierro wrote: > > Which is why I hate bootstrap and we have to move to client side >

[web2py] Re: Forms with readonly fields

2017-04-23 Thread Joe Barnhart
Hi Anthony -- After some digging, I think I understand the flow and why this is required. When the form is built, one of the byproducts is to create a widget for each field and preset that widget with the information it needs to do validation (i.e. the 'requires' of the field is copied to the

[web2py] Re: btw: great job

2017-04-23 Thread Andy W
+1 On Sunday, April 23, 2017 at 7:35:29 AM UTC+4, lucas wrote: > > hey everyone, > > I think we should recognize and congratulate Massimo and the developers of > web2py. its been nearly a year since the last production update and the > whole platform is just excellent. > > it is the most

[web2py] Re: btw: great job

2017-04-23 Thread Manuel Vio
+1 Il giorno domenica 23 aprile 2017 05:35:29 UTC+2, lucas ha scritto: > > hey everyone, > > I think we should recognize and congratulate Massimo and the developers of > web2py. its been nearly a year since the last production update and the > whole platform is just excellent. > > it is the

RE: [web2py] btw: great job

2017-04-23 Thread ramstein74
+1 Enviado a partir do meu smartphone Samsung Galaxy. Mensagem original De: lucas Data: 23/04/17 04:35 (GMT+00:00) Para: web2py-users Assunto: [web2py] btw: great job hey everyone, I think we should recognize and congratulate

[web2py] Re: @auth.requires for functions

2017-04-23 Thread Andrea Fae'
Il giorno giovedì 20 aprile 2017 16:31:31 UTC+2, Andrea Fae' ha scritto: > > Hello, if I have to get the list from database, where I need to put the > code? At the start of default.py where I use the functions? Thanks > > Il giorno mercoledì 19 aprile 2017 17:30:06 UTC+2, Anthony ha scritto: >>