commas at the beginning of a line is not a common practice, but not
necessarily a bad one. I use it myself, having been bitten by too many
missing commas too often. ;)
On Tuesday, December 20, 2011, Richard Vézina wrote:
> I have difficulty to understand your models because they are not in
> eng
I have difficulty to understand your models because they are not in english
(sorry about that)... I will try to help anyway...
By the way you should put "," at the end of your lines like this :
Field('CD_CIDADAO',type='**string',notnull=True,label='**Matrícula')*,*
instead of :
*,*Field('CD_CID
Please...I have some dificult in do this in web2py...as follow
db.define_table("cidadao"
,Field('CD_CIDADAO',type='id',
label='Cidadão(PK)')
,Field('CD_MATRICULA',type='integer',notnull=True,label='Matrícula')
,Field('NM_CIDADAO',type='string',notnull=True,label='Nome')
,format =
3 matches
Mail list logo