Em Sunday 21 October 2007 06:51:44 Florent Aide escreveu:
> Try to use SQLAlchemy, because SQLObject does not handle databased
> with non-integer primary keys...
As does SQL Object.
You just need to say that your ID Column will be of type "str":
class MyClass(SQLObject):
class sqlmeta:
idType = str
column1 = type_of_column1()
...
> And take care to install SA 0.3.10 or 0.4beta6 but not SA 0.4 finale
> for the moment since beta1 of TurboGears has a problem with the final
> version of SA. We are in the process of releasing a beta2 that handle
> the final SA 0.4 version.
And using SO you can use the latest one... ;-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---