Also I added support so the DAL can check reserved SQL keywords.

http://web2py.com/book/default/section/6/2

-Thadeus





On Thu, Mar 4, 2010 at 7:35 PM, villas <[email protected]> wrote:
> 'Password' is a reserved word and causes a problem in Firebird.  Try
> this:
>
> auth=Auth(globals(),db)
> auth.settings.password_field='password2'   # Insert this line here.
> auth.define_tables(migrate=False)
>
> You can then work with a 'password2' field instead  :-)
>
> Regards,
> --David
>
> --
> 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.
>
>

-- 
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