On 10/12/06, JM <[EMAIL PROTECTED]> wrote:
>
> Hi, newbie to Python and TG here, quite impressed so far despite the
> lack of documentation.

I'm working on that. If you have a specific problem, please post it.
You should get a response fairly quickly and it helps me find holes in
the docs. I haven't been as thorough as I should have been on the
getting started stuff. I anticipate that always being the most
problematic part of the docs since it's the first thing people run
into but I have trouble remembering all the things that can go wrong
when learning the framework.

> Sorry if it came up before, I couldn't find it. When I pass a parameter
> to a query with
> http://localhost:8080/module/value
> value simply disappears, the controller does not seem to receive it.
>
> If I pass the parameter with /?name=value
>
> it works. Is this a bug or am I doing something wrong?

As Jorge mentioned, the extra positional parameters go into the *args
tuple. Query string parameters go into named arguments or **kwargs.
You don't need the **kwargs as a parameter to get the *args behavior.

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

Reply via email to