In a .vcf file I use the attributes: VOICE, FAX, CELL, EMAIL and URL for convenience I declared five constants in a module:
VOICE=1 FAX=2 CELL=3 EMAIL=4 URL=5 In web2py 2.2 this was no problem, however, in web2py 2.3 the constant URL conflicts with the URL variable in my menu definitions Traceback (most recent call last): File "/Users/annet/web2py/gluon/restricted.py", line 212, in restricted exec ccode in environment File "/Users/annet/web2py/applications/init/models/menu.py" <http://127.0.0.1:8000/admin/default/edit/init/models/menu.py>, line 28, in <module> (T('Home'), False, URL('default', 'index'), []) TypeError: 'int' object is not callable Kind regards, Annet -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.