Re: [web2py] Re: nice model, weird things

2010-08-23 Thread Adrian Klaver
On Monday 23 August 2010 2:02:53 pm mdipierro wrote: > http://web2py.com/book/default/chapter/03?search=would+be+automatic > Thanks. I was looking in the wrong place, DAL and Form sections. -- Adrian Klaver adrian.kla...@gmail.com

[web2py] Re: nice model, weird things

2010-08-23 Thread mdipierro
http://web2py.com/book/default/chapter/03?search=would+be+automatic On Aug 23, 1:30 pm, Adrian Klaver wrote: > On 08/22/2010 06:17 PM, mdipierro wrote: > > > > > You did not set any validator.Validators will be set outomatically if > > you teach web2py how to represent records in the referenced t

Re: [web2py] Re: nice model, weird things

2010-08-23 Thread Adrian Klaver
On 08/22/2010 06:17 PM, mdipierro wrote: You did not set any validator.Validators will be set outomatically if you teach web2py how to represent records in the referenced tables: db.define_table('tablefoo', Field('foo', length=5), format='%(foo)s') db.define_ta

[web2py] Re: nice model, weird things

2010-08-23 Thread Niphlod
nice! It works perfectly. Sorry if that annoyed you, but I tend to implement functionality before nice representing, and the format parameter is quite always the last one in the development process. I'll try to push up that in the line of priorities ;-) Thanks again Niphlod On 23 Ago, 03:17, mdip

[web2py] Re: nice model, weird things

2010-08-22 Thread mdipierro
You did not set any validator.Validators will be set outomatically if you teach web2py how to represent records in the referenced tables: db.define_table('tablefoo', Field('foo', length=5), format='%(foo)s') db.define_table('tablebar', Field('bar',