From: Oleg B. <ph...@ph...> - 2008-02-14 14:27:22
|
On Thu, Feb 14, 2008 at 07:52:10AM -0600, Christopher Singley wrote: > Well, sqlite doesn't enforce anything, so these constraints > just disappear. Well, SQLite doesn't have a decimal type, to begin with... > What about DecimalValidator in sqlobject/col.py (or a subclass)? That > would seem like a logical place to manually quantize decimals going > to/from sqlobject. Does SQLObject really needs to quantize user's decimals? Why not just pass them to the backend as is? Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |