Thanks guys, i solved it other way.

On Thursday, April 4, 2013 3:17:49 AM UTC+2, 黄祥 wrote:
>
> please try this in your db.py:
>
> db.define_table('company',
>     Field('company_name'),
>     Field('website'),
>     format='%(company_name)s')
>
> auth.settings.extra_fields['auth_user']=[
>     Field('gender', 'list:string'),
>     Field('address', 'text'),
>     Field('zip'),
>     Field('city'),
>     Field('country'),
>     Field('phone'),
>     Field('company', 'reference company')]
>
> auth.define_tables(username=False, signature=True)
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to