Don't forget the usual 'gotcha' using firebird,   'password' is a
reserved word.  It is better to do something like:

auth.settings.password_field='passwd'  # Added line...
auth.define_tables()                              # before
define_tables in db.py

HTH


On Aug 31, 9:04 am, shuval <[email protected]> wrote:
> I decided problem!) I changed  scripts tablenames and fieldnames to
> models, controllers and views (add 'q' examle 'userq') ! And edit
> db.py table ticket
>
> db.py
>
> db.define_table('ticket',
>                 SQLField('ctime','integer',default=now),
>                 SQLField('url','string', length=50,default=''),  #
> Changing string
>                 SQLField('code'),
>                 SQLField('userq',db.userq))
--~--~---------~--~----~------------~-------~--~----~
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