Re: [SQLObject] Method to validate data

2010-03-16 Thread Oleg Broytman
j...@qlf.com, please answer to the mailing list, not to me personally. Oleg. -- Oleg Broytmanhttp://phd.pp.ru/p...@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.

Re: [SQLObject] Method to validate data

2010-03-15 Thread Oleg Broytman
Hi. Please answer to the list, not to my personal address. On Fri, Mar 12, 2010 at 04:09:23PM -0600, j...@qlf.com wrote: > My apologies for providing the superfluous info. I was just trying to be > thorough. However, I've inserted the following code and again, am not > getting to the second de

Re: [SQLObject] Method to validate data

2010-03-12 Thread Oleg Broytman
Hi. It's too hard to read a message with a lot of boring and unnecessary details and too much of empty lines. Next time you want to ask a question please simplify it a bit. On Fri, Mar 12, 2010 at 02:37:27PM -0600, j...@qlf.com wrote: > class Requisition(SQLObject): > requisitionPeriod = Forei

[SQLObject] Method to validate data

2010-03-12 Thread j...@qlf.com
Hi I have a method inside my class definition that I want to use to validate a field before allowing the data to be saved. Here is the def: class Requisition(SQLObject): class sqlmeta: style = Style(longID=True) idName = 'requisitionId' plant = ForeignKey('Pl