[web2py] Re: update_record no update computed fields

2013-10-19 Thread Ángel Gabriel Morales Acosta
Ready. Issue 1735 Thank you so much. El viernes, 18 de octubre de 2013 20:20:04 UTC-5, Massimo Di Pierro escribió: > > Computed fields are not updated when you update_record. Open a ticket, > perhaps they should. > > On Friday, 18 October 2013 17:50:19 UTC-5, Ángel Gabriel

[web2py] update_record no update computed fields

2013-10-18 Thread Ángel Gabriel Morales Acosta
Hi. I'm using 2.7.4-stable+timestamp.2013.10.16.09.10.20 In db.py : db.define_table('table', Field('a','double'), Field('b','double'), Field('c','double', compute=lambda r: r['a']+r['b']) ) In appadmin.py: add record with values a=1, b=2 that right, produce c=3 But In controller

[web2py] Re: name id for form

2013-10-15 Thread Ángel Gabriel Morales Acosta
the form object > is defined. Since it is a string it is not updated when you change a form > attribute. If this is really an issue for you open a ticket. The behavior > can be changed. > > On Monday, 23 September 2013 10:00:37 UTC-5, Ángel Gabriel Morales Acosta > wro

[web2py] name id for form

2013-09-23 Thread Ángel Gabriel Morales Acosta
Hello. For example. *<>* def view(): form = SQLFORM(db.table) form['_id']='*name_for_form*' return dict(form=form) *<>* {{=form}} *<> * ---> Yes. OK. Print name id for form But if i use to the next in view: *<>* {{=form.custom.begin