Hi!

I have a problem with a view configuration in Pyramid. We are developing an 
application that heavily depends on traversal. We have a lot of SEOs around 
us and they need flexible URLs. Pyramid offers a lot of possiblities 
already. I did not find a solution for the following problem, though. We 
have an URL-scheme like this /article/2012/my_article/page-1. my_article is 
the last traversal element and page-1 would be the first page and 
unfortunately the view_name. The problem is, that we do not know if there 
is 1 or n pages and - as we figured - there is no possiblity to have a 
regex in the view_name. So my question is: Is there an elegant way to solve 
this without extending our traversal or registering a lot of views but 
still keep this url-scheme? (I found solutions for other schemes of course) 
And, if not, wouldn't it be possible to do a regex-match with the 
view_name? Or tell the view lookup to ignore the name and just evaluate the 
path_info?

It'd be great, if you could help. Even though I found almost every other 
question answered in the documentation, I am stuck with this one. Thanks a 
lot.

Greetings, Ron


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to