Hi,

I am new to web2py and have been enjoying it immensely.

I have been trying to add extra fields to the db.auth_user. In
particular, I am trying to associate additional profile details
like a "avatar" and other stats to a user...postal code..and so on.

I have tried in the db.py:

auth=Auth(db)
auth.settings.extra_fields[auth.settings.table_user_name]=
[Field('Skype')]
auth.define_tables()


as per http://stackoverflow.com/questions/7121146/web2py-custom-user-profile


The extra fields does not seem to show up when i inspect it through
the appadmin under db.auth_user.
Am I doing this completely wrong?

Could someone please help, thank you!



Reply via email to