Hello,

I am trying to get custom group names to work properly in web2py. I am using

2.9.5-stable+timestamp.2014.03.16.02.35.39
(Running on Apache/2.2.22 (Ubuntu), Python 2.7.3)

I am trying to understand how when a user signs up the group they get added
to is partly created  by the organisation name in my custom auth table.
Here is my additional settings.

auth.settings.extra_fields['auth_user'] = [
    Field('address'),
    Field('city'),
    Field('zip'),
    Field('phone', 'integer'),
    Field('organisation', 'string', notnull=True)
]

It is the final "organisation" field that I want to add to the id field
i.e. %(organisation)s_%(id)s

Any advice would be great.

Regards,

J.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to