El viernes, 14 de junio de 2019, 11:32:58 (UTC-3), Massimo Di Pierro escribió: > > Be careful that you can no longer change attributes everywhere you like as > in: > > db.tablename.fieldname.readable = False > > In web2py this is ok. In web3py this is not safe. Attributes must be > global. The state of fixtures must not be modified inside actions. > > > And what's the corresponding replacement if you want to change the status of "visible" or "readable" only during an action?
-- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/00f068cf-a914-4459-ab51-a8c65c6d8ed5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

