Hello just wondering if declaring a variable for each table is of any
concern in the context of many tables and many controllers and models.
Regards
EquipArea = db.define_table(app+'area',
    Field('nome', 'string', length=35, requires=IS_NOT_EMPTY()),
    Field('descricao','string',label ='Descrição',length=155),
    Field('outros','string', length=255),
    Field('empresa', 'reference ' + app + 'empresa', label='Empresa'),
format = '%(nome)s:%(descricao)s' )

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAEM0BxNur7s3u4m%3DEkMSFMEzxnAoLy6wumi5rS%3Dvn6G7UpiAWA%40mail.gmail.com.

Reply via email to