If you set 'tg.strict_parameters = True' in your dev.cfg it seems to
make things work again.  I'm going to take a deeper look into this
later.

Lee

On 11/6/06, Jorge Vargas <[EMAIL PROTECTED]> wrote:
>
> On 11/6/06, kerinin <[EMAIL PROTECTED]> wrote:
> >
> > you could do something like this:
> >
> > def default(self,*args,**kargs)
> >     proj = (len(args)>0 and args[0] or 'New' )
> >     sect = (len(args)>1 and args[1] or 'Edit' )
> >
> >
> > but it's still a hack.  this should just work.  if you try doing
> > something similar in python (ie, without letting cherrypy mess around
> > with your class/function definitions) it works fine
> >
> yes indeed I just tried it and it's weird even if you leave it as
>
> def default(self,proj='New',sect='Edit',*args):
>
> it says invalid keyword argument which is weird, need to see what the
> CP folks say about this
> >
> > >
> >
>
> >
>


-- 
Lee McFadden

blog: http://www.splee.co.uk
work: http://fireflisystems.com

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