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
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
*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
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
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
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
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
7 matches
Mail list logo