On 11/13/06, kerinin <[EMAIL PROTECTED]> wrote:
> Any ideas how to fix this?

The problem is that SO identifies objects by their id. This does not
happen (IIRC, it's been a while) until the id is retrieved from the
database. The object must be instantiated before you can use your
_set_ methods.

Your best bet is probably to drop the default parameters, define a
custom constructor and in your constructor, do the underlying
constructor (__super__() ? I forget) and then set your defaults after
the class has been created.

--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to