Re: [SQLObject] Adding description field to col.py
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2004-04-04 21:19:03
|
On Apr 3, 2004, at 3:43 PM, Samir Patel wrote: > In class SOCol, does it make any sense to add desc argument with > following: > > if desc: > self.desc = desc > else: > self.desc = name > > I found it quite useful in creating web page. For ex. field > fname can have description "First Name" which can be used in creating > web > forms. I am thinking about ways to change column definitions right now, and one thing is to turn any keyword arguments to the constructor into attributes, so this would fit into this fairly easily. -- Ian Bicking | ia...@co... | http://blog.ianbicking.org |