Mind to this

auth.settings.table_user_name = 'member'

before auth.define_tables()

On Jun 30, 2:09 am, Fran <francisb...@googlemail.com> wrote:
> On Jun 30, 2:07 am, Mico Siahaan <mico.siah...@gmail.com> wrote:
>
> > 1. Can we rename the auth_user table to other for example to member
> > table?
>
> Yes:
> auth.settings.table_user_name = 'member'
>
> > 2. Can rename field id to other for example  to memberId?
>
> No
> All Web2Py tables need a field called 'id'
>
> F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to