[Grok-dev] using **kw in a View's Update?
Jeroen Michiel
jmichiel at yahoo.com
Tue Feb 3 06:54:09 EST 2009
Thanks!
Though it still seems strange to me that is it doesn't work, as in the
documentation the function is defined as
update(**kw)¶
and doing
def update(self, foo=None, bar=None)
self.foo = foo
self.bar=bar
does work!
Since you could use keyword arguments, I assumed **kw to work, too
(especially as the docs define it like that)...
--
View this message in context: http://www.nabble.com/using-**kw-in-a-View%27s-Update--tp21807538p21808382.html
Sent from the Grok mailing list archive at Nabble.com.
More information about the Grok-dev
mailing list