From 1287d4b3aac9122e2fb138cd8fae08b3144f2ffb Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Wed, 4 Aug 2010 22:35:13 +0200 Subject: [PATCH] fix the url regexes to accept the trailing / --- pyweb/mumble/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyweb/mumble/urls.py b/pyweb/mumble/urls.py index 9356cf8..918118e 100644 --- a/pyweb/mumble/urls.py +++ b/pyweb/mumble/urls.py @@ -36,13 +36,13 @@ urlpatterns = patterns( ( r'mumbleviewer/(?P\d+).xml', 'mumbleviewer_tree_xml' ), ( r'mumbleviewer/(?P\d+).json', 'mumbleviewer_tree_json'), - ( r'mobile/(?P\d+)$', 'mobile_show' ), + ( r'mobile/(?P\d+)/?$', 'mobile_show' ), ( r'mobile/?$', 'mobile_mumbles' ), ( r'(?P\d+).json', 'cvp_json' ), ( r'(?P\d+).xml', 'cvp_xml' ), - ( r'(?P\d+)$', 'show' ), + ( r'(?P\d+)/?$', 'show' ), ( r'$', 'mumbles' ), )