what's in your db.py?

On May 18, 9:50 am, "David J." <[email protected]> wrote:
> More Info...
>
> S'Traceback (most recent call last):\n  File
> "/apps/www/web2py.trunk/gluon/restricted.py", line 184, in
> restricted\n    exec ccode in environment\n  File
> "/apps/www/web2py.trunk/applications/app/models/db.py", line 92, in
> <module>\n    auth.define_tables()                           # creates
> all needed tables\n  File "/apps/www/web2py.trunk/gluon/tools.py", line
> 1179, in define_tables\n    format=\'%(first_name)s %(last_name)s
> (%(id)s)\')\n  File "/apps/www/web2py.trunk/gluon/dal.py", line 4089, in
> define_table\n    limits =
> (int(vars.get(\'min\',0)),int(vars.get(\'max\',1000)))\n  File
> "/apps/www/web2py.trunk/gluon/dal.py", line 4392, in __init__\n    
> \'define_table argument is not a Field or Table: %s\' %
> field\nSyntaxError: define_table argument is not a Field or Table: <no
> table>.first_name\n'
> p6516
>
> On 5/18/11 10:48 AM, David J. wrote:
>
>
>
>
>
>
>
> > I just upgraded my trunk;
>
> > I get this exception
>
> > S"('define_table argument is not a Field or Table: <no
> > table>.first_name',)"
>
> > Any ideas?

Reply via email to