On Wednesday 27 May 2009 10:57:41 annet wrote:
> To me it is syntactically correct, however, web2py tells me it's not:
Surely, that's not web2py who is telling you that you are wrong.
And this line is of course syntaxically incorrect:
sn...@home3:~/dv/SC$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> db.adres.plaats.requires=[IS_NOT_EMPTY(),widget=lambda
self,value:INPUT(_id='place',_name='plaats',_class='ac_input',_type='text')]
File "<stdin>", line 1
db.adres.plaats.requires=[IS_NOT_EMPTY(),widget=lambda
self,value:INPUT(_id='place',_name='plaats',_class='ac_input',_type='text')]
^
SyntaxError: invalid syntax
>>>
what 'smth=' statement does inside a list??
--
Sincerely yours
Alexey Nezhdanov
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---