You could mix but not this way.

db.define_table('person','name unique, address, married boolean, bio
wiki')
db.person.bio.default='...'

On Nov 5, 10:04 pm, rochacbruno <[email protected]> wrote:
> bio wiki will be a Markmin represent?
>
> I think it is a good idea, but , if mixed with the normal sintax, will it 
> work?
>
> Some users, specially students, will try to mix for example:
>
> > db.define_table('person','name unique, address, married boolean, bio
> > wiki',Field('foo','text'), format=' ' , migrate=' ' , compute= ' ' , 
> > signature)
>
> This could difficult the learning curve of DAL
>
> Enviado via iPhone
>
> Em 06/11/2010, às 00:53, mdipierro <[email protected]> escreveu:
>
> > We could easily provide this alternative syntax:
>
> > db.define_table('person','name unique, address, married boolean, bio
> > wiki')
> > form = SQLFORM.factory('name unique, address, married boolean, bio
> > wiki')
>
> > by taking it out of the wizard and moving into the DAL (sql.py). Is it
> > a good idea?
>
>

Reply via email to