On Tue, Dec 16, 2008 at 12:50:46PM +1100, Emmanuel Galanos wrote:
> I am trying to use magic attributes at the time of object
> creation.

   Should not be a problem - see test_setters.py in tests:
http://svn.colorstudy.com/SQLObject/trunk/sqlobject/tests/test_setters.py

> Unfortunately self.id is not available until after the object is
> created.

   Certainly it is not available. But perhaps you want to set some values
without touching the id?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to