On Sun, Dec 14, 2008 at 02:01:15AM -0500, inhahe wrote: > class RegisterSessions(SQLObject): > userid = ForeignKey("Users", cascade=True) > > On Sat, Dec 13, 2008 at 1:29 PM, Oleg Broytmann <p...@phd.pp.ru> wrote: > > On Sat, Dec 13, 2008 at 12:52:08PM -0500, inhahe wrote: > >> TypeError: RegisterSessions() did not get expected keyword argument > >> 'useridID'
Your foreignKey is called 'userid', but you tried to assign 'user': RegisterSessions(user=user, sessioncode=registercode) ^^^^ 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