On Tue, Jul 13, 2010 at 11:37:29AM -0700, Mike Orr wrote:
> You may be able to do it with a catchall route and a function condition.
> 
> http://routes.groovie.org/setting_up.html#conditions
> 
> Or you could subclass Routes to lowercase the URL before matching it.

Or you can do it the silly and tedious way, which doubles as
motivation to avoid requiring case-insensitive routes!

map.connect(r"/[Gg][Rr][Oo][Uu][Pp][Ss]/{action}", controller="groups")

Ross

-- 
Ross Vandegrift
[email protected]

"If the fight gets hot, the songs get hotter.  If the going gets tough,
the songs get tougher."
        --Woody Guthrie

Attachment: signature.asc
Description: Digital signature

Reply via email to