Hi, I am trying to extend the Auth_user tabel with a dropdown field.
I have them working but if i try to add the "Auth.signature" in Db.py to the table "work_position" i get an error message. error message: <type 'exceptions.KeyError'> 'Cannot resolve reference auth_user in work_position definition' ----------------------------------------------------------------------------- from gluon.tools import Auth, Service, PluginManager auth = Auth(db) service = Service() plugins = PluginManager() ## adding custom fields to Auth_user table db.define_table('work_position', Field('Name',requires=IS_NOT_EMPTY(error_message='cannot be empty!'), label=T('Name')), auth.signature, format='%(Name)s') auth.settings.extra_fields['auth_user']= [ Field('work_position', db.work_position, label=T('Profession')), etc Anyone an idea to solve this ? Without the auth.signature it works fine. steve -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.