Re: [web2py] routing question

2011-08-01 Thread Jonathan Lundell
On Aug 1, 2011, at 8:55 AM, agend wrote: > hi, what do i have to do to make a request to this address : > example.com/345 go to example.com/show_item/345 ??? > > i've already set up the default application and controller Is show_item intended to be the default function? Are you using the paramet

[web2py] routing question

2011-08-01 Thread agend
hi, what do i have to do to make a request to this address : example.com/345 go to example.com/show_item/345 ??? i've already set up the default application and controller Arek

[web2py:33568] Re: New to Web2py: Routing question

2009-10-24 Thread Yarko Tymciurak
*I think you found the general idea - request.args is how the view passes values back to the controller;* *To pass values TO the view, you do this in the controller "return" - the thing to remember is the flow of calls is:* *request into your webserver (e.g. cherrypy, apache chain, etc.)* *web2py

[web2py:33483] Re: New to Web2py: Routing question

2009-10-22 Thread Thadeus Burgess
Use routes.py http://www.web2py.com/AlterEgo search routes You also might find these useful. It also has a comparison on routes vs urls http://www.web2py.com/AlterEgo/default/show/101 Welcome to the community :) Hope you enjoy web2py! -Thadeus On Thu, Oct 22, 2009 at 9:07 PM, Wiiboy wro

[web2py:33482] Re: New to Web2py: Routing question

2009-10-22 Thread Wiiboy
Hehe, found it in the Django-to-Web2py tutorial video: request.args --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe fro

[web2py:33481] Re: New to Web2py: Routing question

2009-10-22 Thread mdipierro
yes. look into routes.examples.py and rename it routes.py to make it work. There are some differences: in django this is requires, in web2py this is optional django has only routes in, web2py had also routes out On Oct 22, 9:07 pm, Wiiboy wrote: > Hey guys, > I'm just starting with Web2py, swit

[web2py:33480] New to Web2py: Routing question

2009-10-22 Thread Wiiboy
Hey guys, I'm just starting with Web2py, switching from Django. I'm still testing to see if I should, so I might be spamming the group for a few days =). I know in Django one could, in urls.py define a specific url to include additional info (from the tutorial, a poll id), and have that passed t