assuming over-ons is a variable and not a constant:

routes_in = [
   ('/!$ 
<http://formatics.nl/page/show/over-ons>a','/formatics/page/show/$<http://formatics.nl/page/show/over-ons>
a')
]
routes_our = [
   ('/formatics/page/show/$ 
<http://formatics.nl/page/show/over-ons>a','/!$<http://formatics.nl/page/show/over-ons>
a')
]

Then you can do

    http://formatics.nl/!over-ons <http://formatics.nl/page/show/over-ons>

You need the "!" or some other id to prevent conflits with admin and other 
internal URLs, unless you want to disable or remap, admin, appadmin, and 
static files as well.



On Monday, 1 October 2012 08:18:14 UTC-5, Jimmy Vogel wrote:
>
> Dear friends,
>
> I want to know how to make my routes shorter :
>
> Currently it is http://formatics.nl/page/show/over-ons
>
> But it needs to be http://formatics.nl/over-ons
>
> Currently I use this as an solution : 
>
> -- my routes.py--
> routers = dict(
>   BASE  = dict(default_application='formatics'),
> )
> -- en routes.py --
>
> But I'm wondering if theres a better way to do it.
>
> Thanks in advance!
>

-- 



Reply via email to