From: Murat O. <mur...@is...> - 2005-10-19 18:29:52
|
Hi, I'm still playing with sqlobject. Personally I dislike to get strings in place of decimal columns. So I inserted attached code between DateCol and SODecimalCol in col.py. I also added createValidators method to SODecimalCol wiich is very similar to createValidators method of SOFloatCol. Since I'm not a Python guru, a more efficient code is surely possible. Please take this code as a humble approach to the problem, and I would be very appreciated if someone criticize it. I also would like to know whether other methods are existed to get same result. Regards, Murat Ozsoyler |