Are you doing this before or after you call auth.define_tables ? If after, what happens if you do this instead:
db.auth_user # Just to check if some lazy table weirdness is going on db.auth_user.first_name.readable = db.auth_user.first_name.writable = False db.auth_user.last_name.readable = db.auth_user.last_name.writable = False Quarta-feira, 11 de Dezembro de 2013 12:25:24 UTC, Warrick escreveu: > > Prior to updating to 2.8.2 I could user the following code to hide the > fields: > > db.auth_user.first_name.readable = db.auth_user.first_name.writable = > False > db.auth_user.last_name.readable = db.auth_user.last_name.writable = False > > However, now I receive an error: > > <type 'exceptions.AttributeError'> 'DAL' object has no attribute > 'auth_user' > > > any suggestions? > -- 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/groups/opt_out.

