Sorry - I cannot comprehend what I have done wrong before. 
"if db[table][column].writable == False:" works now as expected.

On Sunday, April 8, 2018 at 5:44:55 PM UTC+2, Anthony wrote:
> On Sunday, April 8, 2018 at 4:27:59 AM UTC-4, xelomac wrote:
>> Hi all,
>> in a controller function I want to check if a field is set as writable in 
>> the model before updating it. "if db[table][column].writable == False" did 
>> not work.
> What do you mean by "did not work"? That is the correct way to check the 
> writable attribute. We need more info.
> Anthony

- (Documentation)
- (Source code)
- (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 
For more options, visit

Reply via email to