db.define_table(  auth.settings.table_user_name,

Not

db.define_tables(  auth.settings.table_user_name,

On Mar 11, 2:17 pm, kike <[email protected]> wrote:
> I do that but don't work, now send this ticket web2py and I cant
> resolve:
>
> Traceback (most recent call last):
>   File "/home/kike/prueba/web2py lin/gluon/restricted.py", line 173,
> in restricted
>     exec ccode in environment
>   File "/home/kike/prueba/web2py lin/applications/SBDV/models/db.py",
> line 33, in <module>
>     db.define_tables(
>   File "/home/kike/prueba/web2py lin/gluon/sql.py", line 1295, in
> __getattr__
>     return dict.__getitem__(self,key)
> KeyError: 'define_tables'

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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.

Reply via email to