I really tried every example given,
but no one works on GAE
I cant figure out how to change this:
http://web2pybrasil.appspot.com/init/plugin_wiki/page/home
to this:
http://web2pybrasil.appspot.com/page/home
2010/8/1 mdipierro
> ('/(.*?)/(.*?)', '/$1/yourcontroller/$2'),
>
> or use
>
>
On Aug 1, 2010, at 2:54 AM, mdipierro wrote:
> I realized there was a bug in rewrite that prevented $1, $2, etc from
> working. Please check if this is now fixed in trunk.
A very minor redundancy:
regex_at = re.compile('(?
Does not works here, may I doing something wrong.
$1 HelloWorld
$2 default
$3 index/args/
I do not want the url: http://127.0.0.1/HelloWorld/default/index
I need http://127.0.0.1/index
that points me to the place I need, but raises INVALID REQUEST
I tried to remane my app to 'init' but does not
Don't forget routes out
routes_out = (
('/(.*)/(.*)/(.*)', '/$3'),
)
--
Thadeus
On Sun, Aug 1, 2010 at 1:16 AM, Vasile Ermicioi wrote:
> oops, not like that but like this
> routes_in = (
> ('/(.*)/(.*)', '/$1/yourcontroller/$2'),
> )
> everything is passed to a controller (e.g. 'def
oops, not like that but like this
routes_in = (
('/(.*)/(.*)', '/$1/yourcontroller/$2'),
)
everything is passed to a controller (e.g. 'default')
routes_in = (
('/(.*)/(.*)/(.*)', '/$1/$3'),
)
little explanation:
$1 - app
$2 - controller
$3 - action + vars and args
as you see $2 is skipped
6 matches
Mail list logo