That worked... thanks. Don't know why I missed that.

Caige

On Thu, Jul 9, 2009 at 9:13 AM, Anand Chitipothu <[email protected]>wrote:

>
> 2009/7/9 caiges <[email protected]>
> >
> > So I keep getting GET() takes exactly 1 argument (2 given)
> >
> > Here is my code:
> >
> > http://pastie.org/540155
>
> Issue is with your urls.
>
> urls = (
>        '/(.*)', 'Index',
>        '/users/(.*)', 'Users',
> )
>
> When there is any remembered group in the regular expression, it is
> passed as argument to the GET/POST method. So Index.GET and Users.GET
> will get whatever is matched in (.*) part of the regular expression.
>
> Anand
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to