[EMAIL PROTECTED] schrieb:
> Thanks.  Does that mean one should always give default values to
> controllers like this:
> 
>     def my_controller(self, a = "foo", b = "bar"):
> 
> rather than this:
> 
>     def my_controller(self, a, b): ???

Actually no, only if you want these parameters to be optional. Seems 
that your controller has been called without parameters or with wrong 
parameter names (not as they were declared in your controller). Are you 
sure your log entry belongs to the query with the TypeError?

-- Christoph

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