Hi,
I have the following mappings:
map.connect(':lang/news/:id', controller='main', action='news',
lang='nl', id=None, requirements=dict(lang='(nl|de|en)'))
map.connect(':lang/:page', controller='main', action='page',
lang='nl', page=None, requirements=dict(lang='(nl|en|de)', page='(?!
news)'))
The example of urls that should be generated:
/nl/ => homepage of the website in Dutch
/nl/somepage1 => website pages in Dutch
/nl/news/ => newsarchive in Dutch
/nl/news/21 => single newsitem in Dutch
I experience some weird things with url generation, and I have a
feeling that the maps overlap, so to make sure my setup is correct I
wanted to ask if it's possible at all to exclude things, and what is
the syntax of it? I couldn't find any examples :/
Thanks
--Ksenia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---