summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorAamir Khan <syst3m.w0rm@gmail.com>2012-04-05 23:28:19 +0530
committerAamir Khan <syst3m.w0rm@gmail.com>2012-04-05 23:28:19 +0530
commitabfc1074741bbf65f3448c35c81d41889b72ae9c (patch)
tree6c9cad7b1a3b4468eef976a764c14613a97f780b /urls.py
parentc63d0f755feb49b79506777228ffc88a7c934f23 (diff)
downloadhyperkitty-abfc1074741bbf65f3448c35c81d41889b72ae9c.tar.gz
hyperkitty-abfc1074741bbf65f3448c35c81d41889b72ae9c.tar.xz
hyperkitty-abfc1074741bbf65f3448c35c81d41889b72ae9c.zip
urls.py fix - page can be more than a digit
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index 22ce246..4c9bdf2 100644
--- a/urls.py
+++ b/urls.py
@@ -32,8 +32,8 @@ urlpatterns = patterns('',
# Search
#url(r'^search$', 'views.pages.search'),
# If page number is present in URL
- url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>\d)$', 'views.pages.search_keyword'),
- url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>\d)/$', 'views.pages.search_keyword'),
+ url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>\d+)$', 'views.pages.search_keyword'),
+ url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)\/(?P<page>\d+)/$', 'views.pages.search_keyword'),
# Show the first page as default when no page number is present in URL
url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)$', 'views.pages.search_keyword'),
url(r'^search/(?P<mlist_fqdn>.*@.*)\/(?P<target>.*)\/(?P<keyword>.*)/$', 'views.pages.search_keyword'),