Note to self -- use Field because SQLField is deprecated

On Tue, Aug 17, 2010 at 4:46 PM, NetAdmin <mr.netad...@gmail.com> wrote:

> in gluon/tools.py, I'm trying to modify the register() function
> to save request.vars.get('last_name', None ) to a table defined in
> db.py as
> db.define_table('tbextra',
>  SQLField('lastn', 'string', length = 15 )
> )
> but tools.py does not recognize the db part of  db.tbextra.lastn
> I thought variables in the model files were global.
>
> What am I doing wrong?
>
> Thanks

Reply via email to