[SQLObject] Re: small problem in SQLObject.__repr__
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Karl C. <qu...@no...> - 2004-07-01 08:36:03
|
Why not just convert the IDs to integers if they are just string
representations of integers?
>>>>> "Cyril" == Cyril Elkaim <cy...@de...> writes:
Cyril>
Cyril> Hi All, I'm discovering SQLObject (SVN version). I'm
Cyril> using it with an existing database under Postgres. In
Cyril> this database all IDs are in hexadecimal so represented
Cyril> as strings. So far so good, but the SQLObject.__repr__
Cyril> method accept integer IDs only. Every other routine in
Cyril> this class accept string IDs.
Cyril>
Cyril> Is it possible to make the correction? I can do that on
Cyril> my own machine of course but what about the SVN
Cyril> version?
--
Karl 2004-07-01 01:34
|