Using python3, I added the extra fields on auth_user using this code: auth.settings.extra_fields['auth_user']=[ Field('gender',requires=IS_IN_SET(('Male','Female'))), Field('city',requires=IS_NOT_EMPTY()), Field('country',requires=IS_NOT_EMPTY()), Field('phoneNo',requires=IS_NOT_EMPTY()), Field('pic','upload',requires=IS_NOT_EMPTY()), Field('spams','integer',readable=False,writable=False,default=0), Field('premium',requires=IS_IN_SET(('0','1')),readable=False,writable= False,default='0') ]
But I keep getting this errors on sqlite and postgresql: <class 'sqlite3.OperationalError'> no such column: auth_user.gender What could be the problem as this was working few days ago till I updated ubuntu yesterday but didn't change any code on web2py Regards -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/41dc920e-60a3-423a-834c-3b34a801e391%40googlegroups.com.