[web2py] DAL read and variables

2014-01-15 Thread DAL read and variables
Hi guys, this question is about tree things at once. The first on is as follow: I have this code: [code] in the models (not so importantthis part works fine): dba = DAL('mysql://web2py:test@localhost/testdb') dba.define_table('person', Field('name', requires=IS_NOT_EMPTY()), Field('email', req

[web2py] Re: DAL read and variables

2014-01-17 Thread DAL read and variables
push, please, i still have no idea -- 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 Gr

Re: [web2py] DAL read and variables

2014-01-18 Thread DAL read and variables
records[0].name return dict(records=records) when i enter your code, it returns an error when i call it: " AttributeError: 'THEAD' object has no attribute 'name' " Am Freitag, 17. Januar 2014 22:13:12 UTC+1 schrieb Michele Comitini: > > My attempts

[web2py] Re: Form input prolem

2014-01-21 Thread DAL read and variables
Thank you very much, it works good :) Am Sonntag, 19. Januar 2014 19:28:23 UTC+1 schrieb Lucas Schreiber: > > Hi guys, > > i have this function: > > def login(): > form = FORM( > 'Name', INPUT(_name='name'), > 'password', INPUT(_password='password'), > INPUT(_type='submit')) >