Hi,

is it possible to set the database column comment in web2py? I'd like to 
document my fields only once and have the comment in the code and in the db.

At the moment I comment some of my fields in db.py like
Field('status', 'integer', comment='0=error, 1=warning, 2=success')



So I'm somehow misusing the comment argument for my internal documentation 
(I don't use the autogenerated forms). It would be very useful to have an 
argument like dbcomment for the Field class.

Alex

-- 

--- 
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.


Reply via email to