it keep giving me en error in the response.menu failed to compile file
because:
SyntaxError at line 30 at char 7
invalid syntax (C:/web2py/applications/a3zif/models/menu.py, line
30)  , this is my code :


instruments = db().select(db.Instruments.ALL)
myins = []
for ins in instruments:
  myins.append((T(ins.Instrument_name), False,
URL('default','Instruments',args=ins.Instrument_name),)


response.menu =
[                                                              ### it
gives me the error highlighter here ##
    (T('Home'), False, URL('default','index'), []),
    (T('Instruments'), False, URL('default','Instruments'), myins)
    ]

Reply via email to