From: Christopher Allan Webber Date: Fri, 13 May 2011 21:07:37 +0000 (-0500) Subject: Removing the raw string-ness X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e2decbcf1e0c9be461a5ee1ac40d3a7fe5492b36;p=mediagoblin.git Removing the raw string-ness --- diff --git a/mediagoblin/user_pages/routing.py b/mediagoblin/user_pages/routing.py index c2dc2fc0..304f805f 100644 --- a/mediagoblin/user_pages/routing.py +++ b/mediagoblin/user_pages/routing.py @@ -19,6 +19,6 @@ from routes.route import Route user_routes = [ Route('mediagoblin.user_pages.user_home', "/{user}/", controller="mediagoblin.user_pages.views:user_home"), - Route('mediagoblin.user_pages.media_home', r'/{user}/m/{m_id}/', + Route('mediagoblin.user_pages.media_home', '/{user}/m/{m_id}/', requirements=dict(m_id="[0-9a-fA-F]{24}"), controller="mediagoblin.user_pages.views:media_home")]